aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nimterop/build.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/build.nim b/nimterop/build.nim
index 69cbe95..6ac21e9 100644
--- a/nimterop/build.nim
+++ b/nimterop/build.nim
@@ -355,7 +355,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):