X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1d503b4d9b0c02497b56d06ffcd6c03ff7ab3c0a..ebee927145cb7593ea681b21024eff7e9583b062:/docs/contrib/build_nmh diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index e367da5b..335e0421 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -278,6 +278,15 @@ if [ $status -eq 0 ]; then status=$? if [ $status -eq 0 ]; then + if [ "${TESTS_SHELL}"x = x ]; then + #### Bonus: use heirloom shell to test, if available, and if + #### TESTS_SHELL hadn't already been set. + heirloom_shell=/usr/lib/heirloom/5bin/sh + if [ -x "${heirloom_shell}" ]; then + TESTS_SHELL="${heirloom_shell}"; export TESTS_SHELL + fi + fi + [ $verbose -ge 1 ] && echo testing . . . checkoutput=`make $check 2>>$logfile` status=$?