diff options
author | Caleb Maclennan | 2018-09-01 17:13:00 +0300 |
---|---|---|
committer | Caleb Maclennan | 2018-09-01 17:13:00 +0300 |
commit | b80ff9e533da1d5c899685076d3b57e1e7f2603a (patch) | |
tree | 1a6f8e9b86471f79fe7ed4299d71e69dda6f789b | |
parent | b8b62ef4adcf10d5795ba5b1346ddcd5e8621080 (diff) | |
download | aur-b80ff9e533da1d5c899685076d3b57e1e7f2603a.tar.gz |
Cleanup bash shell quoting using shellharden
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Contributor: John D Jones III (jnbek) <https://aur.archlinux.org/account/jnbek> _npmname=jshint -pkgname=nodejs-${_npmname} +pkgname=nodejs-"$_npmname" pkgver=2.9.6 pkgrel=2 pkgdesc='Static analysis tool for JavaScript' @@ -11,10 +11,10 @@ url='http://jshint.com/' 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=('d045fff14ac4f15aaf00db6e39bc9fc29a6b9867d496fa6ba6da5a7d59ed03b2') noextract=("${source[@]##*/}") package() { - npm install -g --prefix "${pkgdir}/usr" "${source[@]##*/}" + npm install -g --prefix "$pkgdir/usr" "${source[@]##*/}" } |