Fixed permission issue when installing package

This commit is contained in:
Rostyslav Dzinko 2016-02-17 10:26:35 +02:00
commit 296499435e

View file

@ -70,7 +70,7 @@ proc changeRoot*(origRoot, newRoot, path: string): string =
proc copyFileD*(fro, to: string): string = proc copyFileD*(fro, to: string): string =
## Returns the destination (``to``). ## Returns the destination (``to``).
echo(fro, " -> ", to) echo(fro, " -> ", to)
copyFile(fro, to) copyFileWithPermissions(fro, to)
result = to result = to
proc copyDirD*(fro, to: string): seq[string] = proc copyDirD*(fro, to: string): seq[string] =