Skip to content

Commit 22f8fa7

Browse files
authored
Wrap ginstall
1 parent 89f3ede commit 22f8fa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/build-gnu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ cd -
136136
for binary in $(${UU_BUILD_DIR}/coreutils --list); do
137137
(cd ${UU_BUILD_DIR} && ln -vf coreutils "$binary")
138138
done
139-
ln -vf "${UU_BUILD_DIR}/install" "${UU_BUILD_DIR}/ginstall" # The GNU tests rename this script before running, to avoid confusion with the make target
139+
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
141141
echo "stat with selinux support"
142142
./target/debug/stat -c%C g || true

0 commit comments

Comments
 (0)