summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/phpshellsessions/cvssync4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 71eac9b..b1a7f84 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -70,6 +70,10 @@ else
$CODIR = "/root/pfsense/";
+// XXX Temporary until we get git under control.
+if(is_dir("$CODIR/pfSenseGITREPO"))
+ exec("rm -rf $CODIR/pfSenseGITREPO");
+
exec("mkdir -p /root/pfsense/$BRANCHTAG");
$found = false;
OpenPOWER on IntegriCloud