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):