From 0c121f1c9b5a892241084f69f4406b954b674bfe Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 4 May 2014 18:54:57 +0800 Subject: [PATCH] fix bug of mips --- trunk/auto/depends.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/auto/depends.sh b/trunk/auto/depends.sh index 7684e118d..ca71172be 100755 --- a/trunk/auto/depends.sh +++ b/trunk/auto/depends.sh @@ -107,7 +107,7 @@ function Ubuntu_prepare() # for arm, install the cross build tool chain. if [ $SRS_ARM_UBUNTU12 = YES ]; then - `$SrsArmCC --help` >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then + $SrsArmCC --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then echo "install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi" require_sudoer "sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi" sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi @@ -117,7 +117,7 @@ function Ubuntu_prepare() # for mips, user must installed the tool chain. if [ $SRS_MIPS_UBUNTU12 = YES ]; then - `$SrsArmCC --help` >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then + $SrsArmCC --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then echo "user must install the tool chain: $SrsArmCC" return 2 fi