diff options
Diffstat (limited to 'etc/phpshellsessions/cvssync')
-rw-r--r-- | etc/phpshellsessions/cvssync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index f89ae3a..0800c86 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -107,7 +107,7 @@ if(is_dir("$CODIR/mainline")) { if($branch == "master") { exec("cd $CODIR/mainline && git checkout master"); } else { - $current_branch=`git branch | grep $BRANCHTAG` + $current_branch=`git branch | grep $BRANCHTAG`; if($current_branch == "") exec("cd $CODIR/mainline && git fetch && git checkout -b $BRANCHTAG origin/$BRANCHTAG"); else |