summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrufo2017-10-05 17:02:14 +0100
committergrufo2017-10-05 17:02:14 +0100
commit62b4a19f890d06dea277b42d94f13914ce19bb66 (patch)
treee49f2e3f06b005d0fa81dde0feb290330c81b141
parent74882773473b577a9e6090657fb8f3408a59e9ae (diff)
downloadaur-62b4a19f890d06dea277b42d94f13914ce19bb66.tar.gz
PKGBUILD: bash syntax only
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 94ed3d0fe834..e896ece005d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,7 +38,7 @@ optdepends=('zenity: simple dialog boxes'
'libnotify: Gnome dialog boxes')
install="${_pkgname}.install"
-_archstr=$([ $CARCH = 'x86_64' ] && echo "${_idstr64}" || echo "${_idstr32}")
+_archstr=$([[ "${CARCH}" == 'x86_64' ]] && echo -n "${_idstr64}" || echo -n "${_idstr32}")
validpgpkeys=('EF6E286DDA85EA2A4BA7DE684E2C6E8793298290')