run chmod on distdir bin regardless of platform
This commit is contained in:
Родитель
d9231b4561
Коммит
75f6582378
3
build.pl
3
build.pl
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче