From f82ffb0f45a469d4d57047ab20a24c76c0992c04 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 26 Mar 2012 11:25:06 +0000 Subject: [PATCH] Fix win32loader byhand not to update all hardlinks Signed-off-by: Mark Hymers --- scripts/debian/byhand-win32-loader | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/debian/byhand-win32-loader b/scripts/debian/byhand-win32-loader index fff19742..d0ef0a7e 100755 --- 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}" -- 2.39.2