summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-12 13:36:48 +0300
committerCaleb Maclennan2020-02-12 13:36:48 +0300
commite3344003ea288f1a82ebb4cfdda8c54858575375 (patch)
tree1d2e99c53220b86835e0f459e6f56b99ef2a66ad /PKGBUILD
parent03620eb89d4df7425df4d95db1357deb9635e83e (diff)
downloadaur-e3344003ea288f1a82ebb4cfdda8c54858575375.tar.gz
Cleanup bash shell quoting using shellharden
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e5e56d0085e..12692f3e662 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,8 +17,8 @@ sha256sums=('987f42f0754b7bc0c84967b81fc2b4db0ed2ebe2117ccc5a5faa59e462447723')
noextract=("${source[@]##*/}")
package() {
- npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "${source[@]##*/}"
- find "${pkgdir}"/usr -type d -exec chmod 755 {} +
- find "${pkgdir}" -type f -name package.json -exec sed -i -e "/${pkgdir//\//\\/}/d" -e "/${srcdir//\//\\/}/d" {} \;
- chown -R root:root $pkgdir
+ npm install -g --user root --cache "$srcdir/npm-cache" --prefix "$pkgdir/usr" "${source[@]##*/}"
+ find "$pkgdir"/usr -type d -exec chmod 755 {} +
+ find "$pkgdir" -type f -name package.json -exec sed -i -e "/${pkgdir//\//\\/}/d" -e "/${srcdir//\//\\/}/d" {} \;
+ chown -R root:root "$pkgdir"
}