From 0a029d0c98278a57eb9af2f43590265ba817fc9d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 15 Feb 2009 17:12:27 -0500 Subject: Blow away GIT repo until I get it under control (no pun intended) --- etc/phpshellsessions/cvssync | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') 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; -- cgit v1.1