Skip to content

Commit

Permalink
fix: escape ${srcdir}
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Dec 13, 2018
1 parent 76e11a0 commit f8bf0d6
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}/${pkg.name}";tar cf - * )|(cd "${pkgdir}";tar xf - )
(cd "\${srcdir}/${pkg.name}";tar cf - * )|(cd "\${pkgdir}";tar xf - )
}
`
);
Expand Down

0 comments on commit f8bf0d6

Please sign in to comment.