From 083206c53e3ca461bc1175db03c0b65daa0e5325 Mon Sep 17 00:00:00 2001 From: sullrich Date: Mon, 9 Feb 2009 13:15:25 -0500 Subject: [PATCH] Use $branch --- etc/phpshellsessions/cvssync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 7570c0888a..71eac9b522 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"); }