Fixes #323.
This commit is contained in:
parent
27b970885a
commit
f479213ad8
1 changed files with 2 additions and 2 deletions
|
|
@ -455,10 +455,10 @@ proc installFromDir(dir: string, requestedVer: VersionRange, options: Options,
|
||||||
# Set file permissions to +x for all binaries built,
|
# Set file permissions to +x for all binaries built,
|
||||||
# and symlink them on *nix OS' to $nimbleDir/bin/
|
# and symlink them on *nix OS' to $nimbleDir/bin/
|
||||||
for bin in pkgInfo.bin:
|
for bin in pkgInfo.bin:
|
||||||
if not existsFile(pkgDestDir / bin):
|
if existsFile(pkgDestDir / bin):
|
||||||
display("Warning:", ("Binary '$1' was already installed from source" &
|
display("Warning:", ("Binary '$1' was already installed from source" &
|
||||||
" directory. Will be overwritten.") % bin, Warning,
|
" directory. Will be overwritten.") % bin, Warning,
|
||||||
HighPriority)
|
MediumPriority)
|
||||||
|
|
||||||
# Copy the binary file.
|
# Copy the binary file.
|
||||||
filesInstalled.incl copyFileD(pkgInfo.getOutputDir(bin),
|
filesInstalled.incl copyFileD(pkgInfo.getOutputDir(bin),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue