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:
parent
2334680b3d
commit
f8c8e319bc
1 changed files with 1 additions and 1 deletions
2
koch.nim
2
koch.nim
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue