diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 21:09:20 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-20 21:09:20 -0500 |
commit | 155657f95092b039cfc6ec3eb29064ceedd6947f (patch) | |
tree | f59de46a2e67f1387e82b73a7514b6618b288690 | |
parent | e3089bf0d8535eff413ff349074f61b7e6eb78d6 (diff) | |
download | pfsense-155657f95092b039cfc6ec3eb29064ceedd6947f.zip pfsense-155657f95092b039cfc6ec3eb29064ceedd6947f.tar.gz |
Remove mainline and HEAD previous checkouts (CVS)
-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", |