diff options
author | sullrich <sullrich@pfsense.org> | 2009-02-09 13:15:58 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-02-09 13:15:58 -0500 |
commit | 4926f67cbaf64276de3f83c5e84508fb4fc7e089 (patch) | |
tree | 8728831b21ca8c3f2d9010459b925591db66e6b3 | |
parent | 8cf3270bbca6471365f14deba393066ee8038222 (diff) | |
download | pfsense-4926f67cbaf64276de3f83c5e84508fb4fc7e089.zip pfsense-4926f67cbaf64276de3f83c5e84508fb4fc7e089.tar.gz |
Use $branch
-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"); } |