We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e74a34 commit 58095faCopy full SHA for 58095fa
util/build-gnu.sh
@@ -200,7 +200,9 @@ else
200
touch gnu-built
201
fi
202
203
-grep -rl 'path_prepend_' tests/* | xargs sed -i 's| path_prepend_ ./src||'
+grep -rl 'path_prepend_' tests/* | xargs -r sed -i 's| path_prepend_ ./src||'
204
+# path_prepend_ sets $abs_path_dir_: set it manually instead.
205
+grep -rl '\$abs_path_dir_' tests/*/*.sh | xargs -r sed -i "s|\$abs_path_dir_|${UU_BUILD_DIR//\//\\/}|g"
206
207
# Use the system coreutils where the test fails due to error in a util that is not the one being tested
208
sed -i "s|grep '^#define HAVE_CAP 1' \$CONFIG_HEADER > /dev/null|true|" tests/ls/capability.sh
0 commit comments