summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2019-06-10 14:52:56 -0400
committerAndreas Rumpf <rumpf_a@web.de>2019-06-10 20:52:56 +0200
commitf8c8e319bcf093a919c9e03297f15eb7c1a0e97b (patch)
treea4459e9106d80fdca81ec85ec5c6855c32c2ef26 /koch.nim
parent2334680b3d6ee025b8c2560d591811cbda3eb7cf (diff)
downloadNim-f8c8e319bcf093a919c9e03297f15eb7c1a0e97b.tar.gz
Ensure that koch-built nim exe has +x perm for u/g/others [bugfix] (#11444)
Fixes https://github.com/nim-lang/Nim/issues/11427.
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index a2c1f1673..9f2e23290 100644
--- a/koch.nim
+++ b/koch.nim
@@ -111,7 +111,7 @@ proc overwriteFile(source, dest: string) =
 proc copyExe(source, dest: string) =
   safeRemove(dest)
   copyFile(dest=dest, source=source)
-  inclFilePermissions(dest, {fpUserExec})
+  inclFilePermissions(dest, {fpUserExec, fpGroupExec, fpOthersExec})
 
 const
   compileNimInst = "tools/niminst/niminst"