From: David Levine Date: Sun, 26 Feb 2017 18:41:34 +0000 (-0500) Subject: Tweaked to work with Heirloom shell. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/e45ba8b5562113b840aa0a7309936c7b7c62af72 Tweaked to work with Heirloom shell. Shell parameter expansion ending in space needs it to be quoted. --- diff --git a/build_nmh b/build_nmh index e1f04a88..80566701 100755 --- a/build_nmh +++ b/build_nmh @@ -374,7 +374,7 @@ if [ -z "$CFLAGS" ]; then fi printf "\n./configure ${CFLAGS:+CFLAGS=\"${CFLAGS}\" }$config_opts\n" -./configure ${CFLAGS:+CFLAGS="${CFLAGS}" }$config_opts +./configure ${CFLAGS:+CFLAGS="${CFLAGS}"" "}$config_opts status=$? if [ $status -eq 0 ]; then