Remove mainline and HEAD previous checkouts (CVS)

This commit is contained in:
Scott Ullrich 2009-01-20 21:09:20 -05:00
parent e3089bf0d8
commit 155657f950

View File

@ -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",