summaryrefslogtreecommitdiff
path: root/makepackagebin.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 15:43:52 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 15:43:52 +0200
commitc07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (patch)
tree41791cbe367cf023b98043fee56f9346b2592b49 /makepackagebin.sh
parentd7f89e6fe63b8697fab5a901cfce457b375638b3 (diff)
Imported Upstream version 1.6.3upstream/1.6.3
Diffstat (limited to 'makepackagebin.sh')
-rw-r--r--makepackagebin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makepackagebin.sh b/makepackagebin.sh
index 64a1d12..1b8db28 100644
--- a/makepackagebin.sh
+++ b/makepackagebin.sh
@@ -103,10 +103,10 @@ else if [ X$OSTYPE = "Xdarwin10.0" \
USBBINFILES="binfiles.osx"
USETAR=true
else if [ X$OSTYPE = "Xlinux-gnu" ] ; then
- if [[ "$MACHTYPE" =~ x86_64-.*-linux-gnu ]] ; then
+ if [[ "$MACHTYPE" = x86_64-*-linux-gnu ]] ; then
echo "We're on Linux x86_64!"
PACKAGE=Argyll_V${VERSION}_linux_x86_64_bin.tgz
- else if [[ "$MACHTYPE" =~ i.86-.*-linux-gnu ]] ; then
+ else if [[ "$MACHTYPE" = *86-*-linux-gnu ]] ; then
echo "We're on Linux x86!"
PACKAGE=Argyll_V${VERSION}_linux_x86_bin.tgz
fi