From 296499435e7810f09a6d2435baa0b091742f193d Mon Sep 17 00:00:00 2001 From: Rostyslav Dzinko Date: Wed, 17 Feb 2016 10:26:35 +0200 Subject: [PATCH] Fixed permission issue when installing package --- src/nimblepkg/tools.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimblepkg/tools.nim b/src/nimblepkg/tools.nim index 0c992c2..c68d0a2 100644 --- a/src/nimblepkg/tools.nim +++ b/src/nimblepkg/tools.nim @@ -70,7 +70,7 @@ proc changeRoot*(origRoot, newRoot, path: string): string = proc copyFileD*(fro, to: string): string = ## Returns the destination (``to``). echo(fro, " -> ", to) - copyFile(fro, to) + copyFileWithPermissions(fro, to) result = to proc copyDirD*(fro, to: string): seq[string] =