Skip to content

Commit aa7a886

Browse files
sylvestrecakebaker
authored andcommitted
tests: ensure getlimits is on PATH for reused GNU builds
1 parent e417bd1 commit aa7a886

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

util/build-gnu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ else
160160
touch gnu-built
161161
fi
162162

163+
# Keep getlimits available on PATH for GNU shell and Perl tests even when
164+
# reusing an existing GNU build directory.
165+
test -f src/getlimits && cp -f src/getlimits "${UU_BUILD_DIR}"
166+
163167
# Keep Makefile.in newer than the local.mk files we just modified,
164168
# and Makefile newer than Makefile.in, so make won't re-run
165169
# automake or config.status and undo our edits.

0 commit comments

Comments
 (0)