finish tool: proper spacing in output

This commit is contained in:
Araq 2016-10-22 10:27:25 +02:00
commit 7cea3b6a35

View file

@ -122,14 +122,14 @@ proc main() =
echo "bin/nim.exe is already in your PATH [Skipping]" echo "bin/nim.exe is already in your PATH [Skipping]"
else: else:
if askBool("nim.exe is not in your PATH environment variable.\n" & if askBool("nim.exe is not in your PATH environment variable.\n" &
" Should it be added permanently? (y/n) "): "Should it be added permanently? (y/n) "):
addToPathEnv(desiredPath) addToPathEnv(desiredPath)
if mingWchoices.len == 0: if mingWchoices.len == 0:
# No mingw in path, so try a few locations: # No mingw in path, so try a few locations:
let alternative = tryDirs("dist/mingw", "../mingw", r"C:\mingw") let alternative = tryDirs("dist/mingw", "../mingw", r"C:\mingw")
if alternative.len == 0: if alternative.len == 0:
echo "No MingW found in PATH and no candidate found " & echo "No MingW found in PATH and no candidate found " &
" in the standard locations [Error]" "in the standard locations [Error]"
else: else:
if askBool("Found a MingW directory that is not in your PATH.\n" & if askBool("Found a MingW directory that is not in your PATH.\n" &
alternative & alternative &