[svn-commits] dsessions: testsuite/bamboo/trunk r1341 - /bamboo/trunk/bin/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 18 08:50:38 CST 2011


Author: dsessions
Date: Tue Jan 18 08:50:34 2011
New Revision: 1341

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1341
Log:
Fixed incorrect variable name in main build script for Asterisk SCF.

Modified:
    bamboo/trunk/bin/build-asterisk-scf.sh

Modified: bamboo/trunk/bin/build-asterisk-scf.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-scf.sh?view=diff&rev=1341&r1=1340&r2=1341
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf.sh Tue Jan 18 08:50:34 2011
@@ -3,7 +3,15 @@
 
 set -e
 
-UNAME=`uname`
+case $(uname -s)-$(uname -m) in
+   Darwin-*)        platform=mac     ;;
+   Linux-x86_64)    platform=lin64   ;;
+   Linux-i[0-9]86)  platform=lin32   ;;
+   MINGW32*-i686)   platform=win32   ;;
+   CYGWIN_NT*-i686) platform=win32   ;;
+   *)               platform=unknown ;;
+esac
+
 COMPONENT_REV=`cat .git/refs/heads/master`
 COMPONENT_NAM=$@
 
@@ -67,7 +75,7 @@
 echo ""
 
 # Everything should be in place for a buildy-build.
-if [[ "$COMPONENT_NAM" == "gitall" ]]
+if [[ "$platform" == "win32" ]]
 then
 	./cmake/init-cmake.sh --vs10
 	C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe ./build/ALL_BUILD.vcxproj	




More information about the svn-commits mailing list