summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-02-09 13:15:58 -0500
committersullrich <sullrich@pfsense.org>2009-02-09 13:15:58 -0500
commit4926f67cbaf64276de3f83c5e84508fb4fc7e089 (patch)
tree8728831b21ca8c3f2d9010459b925591db66e6b3 /etc/phpshellsessions
parent8cf3270bbca6471365f14deba393066ee8038222 (diff)
downloadpfsense-4926f67cbaf64276de3f83c5e84508fb4fc7e089.zip
pfsense-4926f67cbaf64276de3f83c5e84508fb4fc7e089.tar.gz
Use $branch
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/cvssync2
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");
}
OpenPOWER on IntegriCloud