Cleaned up a couple of shell variables.
[mmh] / docs / contrib / build_nmh
index e1905f9..d8d2315 100755 (executable)
@@ -174,7 +174,7 @@ if [ $yes -eq 0 ]; then
   read locking
   [ "$locking" ]  &&  config_locking="$locking"
 
-  printf 'MTS (smtp|sendmail|pipe) [%s]: ' $config_mts
+  printf 'MTS (smtp|sendmail/smtp|sendmail/pipe) [%s]: ' $config_mts
   read mts
   [ "$mts" ]  &&  config_mts="$mts"
 
@@ -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