run chmod on distdir bin regardless of platform

This commit is contained in:
Mike Voorhees 2016-02-03 14:30:34 -05:00
Родитель d9231b4561
Коммит 75f6582378
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -538,7 +538,6 @@ if ($artifact)
system("ln", "-f", "$monoroot/mono/mini/mono-boehm","$distDirArchBin/mono") eq 0 or die("failed symlinking mono executable\n");
system("ln", "-f", "$monoroot/mono/metadata/pedump","$distDirArchBin/pedump") eq 0 or die("failed symlinking pedump executable\n");
system('cp', "$monoroot/data/config","$distDirArchEtc/mono/config") eq 0 or die("failed to copy config\n");
system("chmod", "-R", "755", $distDirArchBin);
}
elsif($^O eq 'darwin')
{
@ -552,6 +551,8 @@ if ($artifact)
system("cp", "$monoprefix/bin/mono.exe", "$distDirArchBin/mono.exe") eq 0 or die ("failed copying mono.exe\n");
}
system("chmod", "-R", "755", $distDirArchBin);
# Output version information
print(">>> Creating version file : $versionsOutputFile\n");
system("echo \"mono-version =\" > $versionsOutputFile");