Skip to content

Commit d63074d

Browse files
committed
Prevent make check from rebuilding GNU binaries over uutils ones
1 parent 94f9224 commit d63074d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/build-gnu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ fi
164164
# automake or config.status and undo our edits.
165165
touch Makefile.in Makefile
166166

167+
# Prevent make check from rebuilding the GNU binaries over the uutils ones
168+
sed -i 's/^check-am: all-am/check-am:/' Makefile
169+
167170
grep -rl 'path_prepend_' tests/* | xargs -r "${SED}" -i 's| path_prepend_ ./src||'
168171
# path_prepend_ sets $abs_path_dir_: set it manually instead.
169172
grep -rl '\$abs_path_dir_' tests/*/*.sh | xargs -r "${SED}" -i "s|\$abs_path_dir_|${UU_BUILD_DIR//\//\\/}|g"

0 commit comments

Comments
 (0)