summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/cvssync
diff options
context:
space:
mode:
Diffstat (limited to 'etc/phpshellsessions/cvssync')
-rw-r--r--etc/phpshellsessions/cvssync5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 71eac9b..2aaaa61 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -70,6 +70,11 @@ 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