diff --git a/sc2/build/unix/config_functions b/sc2/build/unix/config_functions index ccf4a359f..ab4352cec 100644 --- a/sc2/build/unix/config_functions +++ b/sc2/build/unix/config_functions @@ -365,6 +365,8 @@ EOF for FILE in $FILES; do FILE="${FILE%.in}" + cp -p -- "$FILE".in "$FILE" + # The copy is done so that the file modes are equal. $SED -f "${TEMPFILE}.sed" < "$FILE".in > "$FILE" done rm -- "${TEMPFILE}.sed"