summary refs log tree commit diff stats
path: root/tests/manyloc/nake
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-21 23:57:54 +0200
committerAraq <rumpf_a@web.de>2014-09-21 23:57:54 +0200
commit3866820eeedd4a219c3d0c09368bb85081bf52ce (patch)
treeeb83901ec503db265c3cb6dbd2f213b97253b6fc /tests/manyloc/nake
parent8e523844079aef487705f13b03b43f066ab674c6 (diff)
downloadNim-3866820eeedd4a219c3d0c09368bb85081bf52ce.tar.gz
made some tests green
Diffstat (limited to 'tests/manyloc/nake')
-rw-r--r--tests/manyloc/nake/nakefile.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manyloc/nake/nakefile.nim b/tests/manyloc/nake/nakefile.nim
index be7398fa0..d1d712964 100644
--- a/tests/manyloc/nake/nakefile.nim
+++ b/tests/manyloc/nake/nakefile.nim
@@ -84,7 +84,7 @@ task "download", "download game assets":
     skipAssets = false
     path = expandFilename("data")
   path.add DirSep
-  path.add(extractFilename(gameAssets))
+  path.add(extractFilename(GameAssets))
   if existsFile(path):
     echo "The file already exists\n",
       "[R]emove  [M]ove  [Q]uit  [S]kip    Source: ", GameAssets
@@ -92,7 +92,7 @@ task "download", "download game assets":
     of "r":
       removeFile path
     of "m":
-      moveFile path, path/../(extractFilename(gameAssets)&"-old")
+      moveFile path, path/../(extractFilename(GameAssets)&"-old")
     of "s":
       skipAssets = true
     else:
@@ -101,7 +101,7 @@ task "download", "download game assets":
     echo "Downloading from ", GameAssets
   if not skipAssets:
     echo "Downloading to ", path
-    downloadFile gameAssets, path
+    downloadFile GameAssets, path
     echo "Download finished"
   
     let targetDir = parentDir(parentDir(path))