finish tool: proper spacing in output
This commit is contained in:
parent
cd6668fa4c
commit
7cea3b6a35
1 changed files with 2 additions and 2 deletions
|
|
@ -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 &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue