aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-12-21 22:42:36 -0800
committerGanesh Viswanathan <dev@genotrance.com>2019-12-21 22:42:36 -0800
commit3d1dcb31a9a05d0363a76d8f2a913fae438e1c9a (patch)
tree24f7ed4b95b6578a80962c1da3abe6b027e6f624
parent53cb044257bf8857caff3d5cbdfb06b6e43fd400 (diff)
downloadnimterop-3d1dcb31a9a05d0363a76d8f2a913fae438e1c9a.tar.gz
nimterop-3d1dcb31a9a05d0363a76d8f2a913fae438e1c9a.zip
Fix execAction issue on Windows
-rw-r--r--nimterop/build.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/build.nim b/nimterop/build.nim
index bd0a0b1..5a4dad7 100644
--- a/nimterop/build.nim
+++ b/nimterop/build.nim
@@ -350,7 +350,7 @@ proc findFile*(file: string, dir: string, recurse = true, first = false, regex =
var
cmd =
when defined(windows):
- "nimgrep --filenames --oneline --nocolor $1 $2 $3"
+ "nimgrep --filenames --oneline --nocolor $1 \"$2\" $3"
elif defined(linux):
"find $3 $1 -regextype egrep -regex $2"
elif defined(osx):