Skip to content

Commit 48227b7

Browse files
authored
copy [
1 parent 5d8ab52 commit 48227b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/build-gnu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ cd -
134134
"${MAKE}" MULTICALL=y PROFILE="${UU_MAKE_PROFILE}" CARGOFLAGS="${CARGO_FEATURE_FLAGS}"
135135
# copy binaries
136136
for binary in $(${UU_BUILD_DIR}/coreutils --list); do
137-
(cd ${UU_BUILD_DIR} && cp -vf coreutils "$binary")
137+
(cd ${UU_BUILD_DIR} && cp -v --remove-destination coreutils "$binary")
138138
done
139139
echo -e '#!/bin/sh\nexec $(dirname $0)/install "$@"' > "${UU_BUILD_DIR}/ginstall" && chmod +x "${UU_BUILD_DIR}/ginstall" # The GNU tests rename this script before running, to avoid confusion with the make target
140140
touch g

0 commit comments

Comments
 (0)