Create directories individually to work around oddness on the build machines

This commit is contained in:
Mike Voorhees 2016-04-06 11:33:21 -04:00
Родитель a9d5a5b738
Коммит d3a9afa0ad
1 изменённых файлов: 26 добавлений и 2 удалений

Просмотреть файл

@ -82,6 +82,9 @@ if ($clean)
{
print(">>> Cleaning $monoprefix\n");
rmtree($monoprefix);
print(">>> Cleaning $buildsroot\n");
rmtree($buildsroot);
}
# ******************* Build Stage **************************
@ -191,9 +194,30 @@ if ($artifact)
print(">>> Cleaning $distDirArchBin\n");
rmtree($distDirArchBin);
}
if (!(-d "$buildsroot"))
{
print(">>> Creating directory $buildsroot\n");
system("mkdir $buildsroot") eq 0 or die("failed to create directory $buildsroot\n");
}
if (!(-d "$embedDirRoot"))
{
print(">>> Creating directory $embedDirRoot\n");
system("mkdir $embedDirRoot") eq 0 or die("failed to create directory $embedDirRoot\n");
}
if (!(-d "$distdir"))
{
print(">>> Creating directory $distdir\n");
system("mkdir $distdir") eq 0 or die("failed to create directory $distdir\n");
}
system("mkdir $embedDirArchDestination");
system("mkdir $distDirArchBin");
print(">>> Creating directory $embedDirArchDestination\n");
system("mkdir $embedDirArchDestination") eq 0 or die("failed to create directory $embedDirArchDestination\n");
print(">>> Creating directory $distDirArchBin\n");
system("mkdir $distDirArchBin") eq 0 or die("failed to create directory $distDirArchBin\n");
# embedruntimes directory setup
print(">>> Creating embedruntimes directory : $embedDirArchDestination\n");