Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Improved skip api client
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybatch committed Sep 1, 2015
1 parent 6e44b8f commit 4112b05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions branches
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion ntsl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4112b05

Please sign in to comment.