projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e5987
)
Cleaned up a couple of shell variables.
author
David Levine
<levinedl@acm.org>
Sat, 20 Oct 2012 21:40:06 +0000
(16:40 -0500)
committer
David Levine
<levinedl@acm.org>
Sat, 20 Oct 2012 21:40:06 +0000
(16:40 -0500)
docs/contrib/build_nmh
patch
|
blob
|
history
diff --git
a/docs/contrib/build_nmh
b/docs/contrib/build_nmh
index
7d46fe7
..
d8d2315
100755
(executable)
--- 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