X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/51e598739b071778dd3f0eee3db5c50164346da1..a69289ce6e12c75a4a934d966a502b3899374e29:/docs/contrib/build_nmh diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index 7d46fe78..d8d2315c 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -279,12 +279,12 @@ if [ $status -eq 0 ]; then status=$? if [ $status -eq 0 ]; then - if [ "${TESTS_SHELL}"x = x ]; 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 + if [ -x "$heirloom_shell" ]; then + TESTS_SHELL="$heirloom_shell"; export TESTS_SHELL fi fi