diff options
author | Caleb Maclennan | 2018-09-01 17:13:55 +0300 |
---|---|---|
committer | Caleb Maclennan | 2018-09-01 17:13:55 +0300 |
commit | f4d9c95f2e0eefd5f705ad96c810b9e49eb47a22 (patch) | |
tree | e0f837fbef1b969d4f21867c7ab6f31df2ed5c31 | |
parent | 188f122967ddbcfc1c4daf5a864bd6fe5a0089c7 (diff) | |
download | aur-f4d9c95f2e0eefd5f705ad96c810b9e49eb47a22.tar.gz |
Cleanup bash shell quoting using shellharden
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ # Contributor: Florent Peterschmitt _npmname=jsonlint -pkgname=nodejs-${_npmname} +pkgname=nodejs-"$_npmname" pkgver=1.6.3 pkgrel=3 pkgdesc='Validate JSON' @@ -12,10 +12,10 @@ url="http://zaach.github.com/$_npmname}/" license=('MIT') depends=('nodejs') makedepends=('nodejs' 'npm') -source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${pkgver}.tgz") +source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz") sha256sums=('987f42f0754b7bc0c84967b81fc2b4db0ed2ebe2117ccc5a5faa59e462447723') noextract=("${source[@]##*/}") package() { - npm install -g --prefix "${pkgdir}/usr" "${source[@]##*/}" + npm install -g --prefix "$pkgdir/usr" "${source[@]##*/}" } |