X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=docs%2Fcontrib%2Fbuild_nmh;h=335e042168e5b986081199aebbecf7a8875f4d7a;hb=702512891eb9936eab9626558387b6d2188d3a2c;hp=e367da5b5023724ed8b698337f0ba1f9cd599be2;hpb=1d503b4d9b0c02497b56d06ffcd6c03ff7ab3c0a;p=mmh diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index e367da5..335e042 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=$?