projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261addb
)
Fix win32loader byhand not to update all hardlinks
author
Mark Hymers
<mhy@debian.org>
Mon, 26 Mar 2012 11:25:06 +0000
(11:25 +0000)
committer
Mark Hymers
<mhy@debian.org>
Mon, 26 Mar 2012 11:25:06 +0000
(11:25 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
scripts/debian/byhand-win32-loader
patch
|
blob
|
history
diff --git
a/scripts/debian/byhand-win32-loader
b/scripts/debian/byhand-win32-loader
index fff19742edd2696ab059bc2fb6143052fd82e7da..d0ef0a7e24b2d83cebd15488ab86d373a9c51020 100755
(executable)
--- a/
scripts/debian/byhand-win32-loader
+++ b/
scripts/debian/byhand-win32-loader
@@
-45,7
+45,9
@@
if [ ! -d "$TARGET" ]; then
fi
# Put said file into the tools directory
-cp "$WIN32_LOADER_FILE" "${TARGET}${TARGET_FILENAME}"
+# Use --remove-destination to avoid problems with the fact that the target may
+# be a hardlink and in that case we'd update multiple suites together
+cp --remove-destination "$WIN32_LOADER_FILE" "${TARGET}${TARGET_FILENAME}"
# Chmod it correctly
chmod 0644 "${TARGET}${TARGET_FILENAME}"