summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrufo2017-10-05 17:03:07 +0100
committergrufo2017-10-05 17:03:07 +0100
commit4e6e0daf7793ce7806233bcc8a83ccc53c170ad0 (patch)
treebffd284e7b57610e119e737a6e24320bc307de4e
parentdc9a824ed2c76182dbd2244ae0270d80761f7ec7 (diff)
downloadaur-4e6e0daf7793ce7806233bcc8a83ccc53c170ad0.tar.gz
PKGBUILD: bash syntax only
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9a0110740d31..cf27697dc6fe 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')