Ensure that koch-built nim exe has +x perm for u/g/others [bugfix] (#11444)

Fixes https://github.com/nim-lang/Nim/issues/11427.
This commit is contained in:
Kaushal Modi 2019-06-10 14:52:56 -04:00 • committed by Andreas Rumpf
commit f8c8e319bc

View file

@ -111,7 +111,7 @@ proc overwriteFile(source, dest: string) =
proc copyExe(source, dest: string) = proc copyExe(source, dest: string) =
safeRemove(dest) safeRemove(dest)
copyFile(dest=dest, source=source) copyFile(dest=dest, source=source)
inclFilePermissions(dest, {fpUserExec}) inclFilePermissions(dest, {fpUserExec, fpGroupExec, fpOthersExec})
const const
compileNimInst = "tools/niminst/niminst" compileNimInst = "tools/niminst/niminst"