summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrufo2017-10-05 17:02:36 +0100
committergrufo2017-10-05 17:02:36 +0100
commit58c3c5bfc50b10d9d3f86103655c728bf7d9d8b4 (patch)
tree5bd3630e1b5ba4125167007852fe8ddddd0f851c
parent8c50f0ba55d1cdb40f8ec7a1c22c17ff9f197994 (diff)
downloadaur-58c3c5bfc50b10d9d3f86103655c728bf7d9d8b4.tar.gz
PKGBUILD: bash syntax only
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b1f3e2e0a7c6..07bbc629e029 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')