diff --git a/branches b/branches index c16bc40..838c1b0 100755 --- a/branches +++ b/branches @@ -66,16 +66,16 @@ fi for var in "$ROOTPATH"; do if [ -d $var ]; then for x in `find $var/* -name .git`; do - GITCMD="git -C `dirname $x`" - # Fetch latest - if [ ! -z "$fetchorigin" ]; then - $GITCMD fetch origin > /dev/null - fi dir=`dirname $x` name=`basename $dir` if [ "$name" == "tabs-api-client" ]; then continue fi + GITCMD="git -C `dirname $x`" + # Fetch latest + if [ ! -z "$fetchorigin" ]; then + $GITCMD fetch origin > /dev/null + fi branch=`$GITCMD branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | tr -d "()"` if [ ! -z "$latesttag" ]; then lt=`$GITCMD describe --abbrev=0 --tags 2> /dev/null` diff --git a/ntsl b/ntsl index a14253e..0f659ef 100755 --- a/ntsl +++ b/ntsl @@ -42,7 +42,7 @@ if [ "$VERBOSE" == "verbose" ]; then PROGRESS="-v" fi -for SITE in $RC_HOST $TEST_HOST; do +for SITE in $RC_HOST; do # Put site into read only ssh $RUSER@$SITE "sudo ntdrchown $DRUPAL_REMOTE_ROOT/latest" ssh $RUSER@$SITE "sudo ntdrchown $DRUPAL_REMOTE_ROOT/testing"