From 100815c0971279dd2c92c392d31041d6a6078bef Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sun, 1 Mar 2009 22:40:15 +0100 Subject: [PATCH] Fixed find alt script. --- find-alt-triple.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/find-alt-triple.sh b/find-alt-triple.sh index 3d0a3f05..443f229c 100755 --- a/find-alt-triple.sh +++ b/find-alt-triple.sh @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash HOST_TARGET=$1 -[ "$HOST_TARGET" == "" ] && exit 1 +[ "$HOST_TARGET" = "" ] && exit 1 REST=`echo $HOST_TARGET | sed -e 's/[a-zA-Z0-9_]*\(\-.*\)/\1/'` X86=`echo $HOST_TARGET | sed -e 's/\(i[3-9]86\)\-.*/\1/'`