CopyAgent: use = inside [ ].

This commit is contained in:
Christian Neukirchen 2016-03-08 20:09:03 +01:00
parent 4bb4ebcb67
commit 0e8b4e4519

View file

@ -16,9 +16,9 @@ wrksrc="copy"
depends="qt>=4.8.4_4 fuse desktop-file-utils"
do_install() {
if [ "$XBPS_TARGET_MACHINE" == "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
cd x86_64
elif [ "$XBPS_TARGET_MACHINE" == "i686" ]; then
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
cd x86
else
cd armv6h