[asterisk-commits] dsessions: testsuite/bamboo/trunk r1208 - /bamboo/trunk/bin/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 16 17:30:27 UTC 2010


Author: dsessions
Date: Thu Dec 16 11:30:23 2010
New Revision: 1208

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1208
Log:
more tweaks to the scf scripts

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=1208&r1=1207&r2=1208
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf.sh Thu Dec 16 11:30:23 2010
@@ -13,9 +13,12 @@
 
 ./gitall-asterisk-scf.sh
 
-cd $COMPONENT_NAM
-git checkout $COMPONENT_REV
-cd ..
+if [ $COMPONENT_REV -ne `cat $COMPONENT_NAM/.git/regs/heads/master` ]
+then
+	cd $COMPONENT_NAM
+	git checkout $COMPONENT_REV
+	cd ..
+fi
 
 echo "Test build initiated for: $COMPONENT_NAM revision $COMPONENT_REV"
 echo ""




More information about the asterisk-commits mailing list