diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 21:08:39 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 21:08:39 -0500 |
commit | 74fb85b826147dded35006e82c100d8806d09b02 (patch) | |
tree | 0ff0acbce4cf80078b661ebc7fbcc02fa48331f1 /etc/phpshellsessions | |
parent | 48b09198cdee13c644d04a78d54a733370518201 (diff) | |
download | pfsense-74fb85b826147dded35006e82c100d8806d09b02.zip pfsense-74fb85b826147dded35006e82c100d8806d09b02.tar.gz |
Remove mainline and HEAD previous checkouts (CVS)
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r-- | etc/phpshellsessions/cvssync | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 8f36a45..bbf139e 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -25,9 +25,18 @@ if(!file_exists("/usr/local/bin/git")) { system("chmod a+rx /usr/local/bin/git"); } +# Remove mainline if exists (older) if(is_dir("/root/pfsense/mainline")) exec("rm -rf /root/pfsense/mainline"); +# Remove RELENG_1_2 if exists (older) +if(is_dir("/root/pfsense/RELENG_1_2")) + exec("rm -rf /root/pfsense/RELENG_1_2"); + +# Remove HEAD if exists (older) +if(is_dir("/root/pfsense/HEAD")) + exec("rm -rf /root/pfsense/HEAD"); + /* NOTE: Set branches here */ $branches = array( "master" => "2.0 development branch", |