[asterisk-commits] dsessions: testsuite/bamboo/trunk r1211 - /bamboo/trunk/bin/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 16 18:05:07 UTC 2010
Author: dsessions
Date: Thu Dec 16 12:05:03 2010
New Revision: 1211
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1211
Log:
more tweaks to the scf scripts
Modified:
bamboo/trunk/bin/build-asterisk-scf-wrapper.sh
bamboo/trunk/bin/build-asterisk-scf.sh
Modified: bamboo/trunk/bin/build-asterisk-scf-wrapper.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-asterisk-scf-wrapper.sh?view=diff&rev=1211&r1=1210&r2=1211
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf-wrapper.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf-wrapper.sh Thu Dec 16 12:05:03 2010
@@ -2,8 +2,6 @@
BINDIR=/usr/local/bin/bamboo/
-set
-cat .git/HEAD
mkdir bamboo
cd bamboo
svn co http://svn.asterisk.org/svn/testsuite/bamboo/trunk
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=1211&r1=1210&r2=1211
==============================================================================
--- bamboo/trunk/bin/build-asterisk-scf.sh (original)
+++ bamboo/trunk/bin/build-asterisk-scf.sh Thu Dec 16 12:05:03 2010
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# Super simple build script for Asterisk SCF's gitall repo
set -e
@@ -13,7 +14,7 @@
./gitall-asterisk-scf.sh
-if [ "$COMPONENT_REV" == "`cat $COMPONENT_NAM/.git/HEAD`" ]
+if [[ "$COMPONENT_REV" == "`cat $COMPONENT_NAM/.git/HEAD`" ]]
then
cd $COMPONENT_NAM
git checkout $COMPONENT_REV
More information about the asterisk-commits
mailing list