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 94f9224 commit d07c1f1Copy full SHA for d07c1f1
util/build-gnu.sh
@@ -164,6 +164,11 @@ fi
164
# automake or config.status and undo our edits.
165
touch Makefile.in Makefile
166
167
+# Patch the Makefile PATH to point to uutils build dir instead of GNU src/
168
+sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
169
+# Prevent make check from rebuilding the GNU binaries over the uutils ones
170
+sed -i 's/^check-am: all-am/check-am:/' Makefile
171
+
172
grep -rl 'path_prepend_' tests/* | xargs -r "${SED}" -i 's| path_prepend_ ./src||'
173
# path_prepend_ sets $abs_path_dir_: set it manually instead.
174
grep -rl '\$abs_path_dir_' tests/*/*.sh | xargs -r "${SED}" -i "s|\$abs_path_dir_|${UU_BUILD_DIR//\//\\/}|g"
0 commit comments