diff options
-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 7570c08..71eac9b 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -126,7 +126,7 @@ if($branch == "master") { } else { $current_branch=`git branch | grep $branch`; if($current_branch == "") { - exec("cd $CODIR/pfSenseGITREPO/pfSenseGITREPO && git checkout -b $BRANCHTAG origin/$branch"); + exec("cd $CODIR/pfSenseGITREPO/pfSenseGITREPO && git checkout -b $branch origin/$branch"); } else { exec("cd $CODIR/pfSenseGITREPO/pfSenseGITREPO && git checkout $branch"); } |