diff options
author | Araq <rumpf_a@web.de> | 2017-02-11 00:24:22 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-02-11 00:24:22 +0100 |
commit | c8ae7164e502b585843c584af65f78f67002830e (patch) | |
tree | f2d9161d5d2a3d013e0ad21162d056891c5dddae /tools | |
parent | 9b8150aef1f6a8d48dffc6ac4c5cba9a3f8e24d3 (diff) | |
download | Nim-c8ae7164e502b585843c584af65f78f67002830e.tar.gz |
finish.nim: user has multiple chances to move .7z file to proper location
Diffstat (limited to 'tools')
-rw-r--r-- | tools/finish.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/finish.nim b/tools/finish.nim index a9fb444a0..e39062b02 100644 --- a/tools/finish.nim +++ b/tools/finish.nim @@ -209,6 +209,9 @@ proc main() = of Manual: echo "After download, move it to: ", dest if askBool("Download successful? (y/n) "): + while not fileExists("dist" / mingw): + echo "could not find: ", "dist" / mingw + if not askBool("Try again? (y/n) "): break if unzip(): retry = true of Failure: discard of Success: |