summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-02-09 13:15:25 -0500
committersullrich <sullrich@pfsense.org>2009-02-09 13:15:25 -0500
commit083206c53e3ca461bc1175db03c0b65daa0e5325 (patch)
treede48b8f28ec88d264e79137009e42dc51f755f16 /etc/phpshellsessions
parentb3af2caf3ca080366ba6d8b0ae326dd56f951811 (diff)
downloadpfsense-083206c53e3ca461bc1175db03c0b65daa0e5325.zip
pfsense-083206c53e3ca461bc1175db03c0b65daa0e5325.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