summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Audet2017-11-09 15:52:43 -0500
committerJeremy Audet2017-11-09 15:52:43 -0500
commitb65fe6b46e723df27a555150038c77feb8d50853 (patch)
treeb236d8c225f521071327af563d7d4fd8601d2af2
parent9aebf707140eae64f03d8cc75978ddd0ea725298 (diff)
downloadaur-b65fe6b46e723df27a555150038c77feb8d50853.tar.gz
Always use curly braces in variable names
For example, write `${foo}` instead of `$foo`.
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5ad74365bc5..2e8d9adbe44 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ license=(GPL2)
arch=(any)
depends=('java-runtime=8')
conflicts=("${pkgname}-svn")
-source=("$pkgname" "http://www.mkgmap.org.uk/download/${pkgname}-${pkgver}.zip")
+source=("${pkgname}" "http://www.mkgmap.org.uk/download/${pkgname}-${pkgver}.zip")
sha256sums=('135dfbca5146cea34ef48ed6908a817efdfbbcccbb8adfbbb6a100f58c2c7bb6'
'd7be83ef64943431d8c3b3f598be6c34e346559cec430897a437362c85412d15')
@@ -23,7 +23,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Install the executable, jarfile, dependencies and man page.
- install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 \
"${pkgname}.jar" \
"${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"