Skip to content

Commit

Permalink
fix: tar from $srcdir/pkg.name
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Dec 13, 2018
1 parent 61b3d77 commit 274605f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npm-pkgbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ build() {
}
package() {
(cd "${srcdir}";tar cf - bin node_modules package.json)|(cd "${pkgdir}";tar xf - )
(cd "${srcdir}/${pkg.name}";tar cf - )|(cd "${pkgdir}";tar xf - )
}
`
);
Expand Down

0 comments on commit 274605f

Please sign in to comment.