summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-02-15 17:13:39 -0500
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-02-15 17:13:39 -0500
commit0badb53236cfe40d761639c0ed24407329bf0505 (patch)
treea47540d081716a86ad90cf10ff9e135af83c005d /etc
parent37e117dd8c3f155d613bafbcdf8c9fd66fcef249 (diff)
downloadpfsense-0badb53236cfe40d761639c0ed24407329bf0505.zip
pfsense-0badb53236cfe40d761639c0ed24407329bf0505.tar.gz
Blow away GIT repo until I get it under control (no pun intended)
Diffstat (limited to 'etc')
-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