[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [emerge] bin: copy file if hardlink failed
From: Patrick von Reth <vonreth () kde ! org>
Date: 2015-01-31 17:14:07
Message-ID: E1YHbcV-0000a3-57 () scm ! kde ! org
[Download RAW message or body]
Git commit 05f214888269822a4032f4ec6bf2d993050f2e22 by Patrick von Reth.
Committed on 31/01/2015 at 17:14.
Pushed by vonreth into branch 'master'.
copy file if hardlink failed
M +1 -1 bin/utils.py
http://commits.kde.org/emerge/05f214888269822a4032f4ec6bf2d993050f2e22
diff --git a/bin/utils.py b/bin/utils.py
index 00c8649..989bdad 100644
--- a/bin/utils.py
+++ b/bin/utils.py
@@ -874,7 +874,7 @@ def copyFile(src, dest,linkOnly = emergeSettings.getboolean("General", "UseHardl
os.link( src , dest )
return True
except:
- pass
+ warning("Failed to create hardlink %s for %s" % (dest, src))
try:
shutil.copy(src,dest)
except OSError:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic