Fixes #42.
This commit is contained in:
parent
0d6dabbd09
commit
6b03336c9d
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ proc copyDirD*(fro, to: string): seq[string] =
|
||||||
result = @[]
|
result = @[]
|
||||||
echo("Copying directory: ", fro, " -> ", to)
|
echo("Copying directory: ", fro, " -> ", to)
|
||||||
for path in walkDirRec(fro):
|
for path in walkDirRec(fro):
|
||||||
|
createDir(changeRoot(fro, to, path.splitFile.dir))
|
||||||
result.add copyFileD(path, changeRoot(fro, to, path))
|
result.add copyFileD(path, changeRoot(fro, to, path))
|
||||||
|
|
||||||
proc getDownloadDirName*(url: string, verRange: PVersionRange): string =
|
proc getDownloadDirName*(url: string, verRange: PVersionRange): string =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue