From 64be8525eadefaf536f19865649f12c8e3a3ea9a Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 5 Oct 2014 10:18:25 -0500 Subject: [PATCH] Use "mhparam etcdir" instead of hard-coded etc in build_nmh. --- docs/contrib/build_nmh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index ba421bf3..499fadea 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -131,7 +131,7 @@ if install-mh -check >/dev/null 2>&1; then config_prefix=`cd $mhbin/.. && pwd` - mtsconf=`dirname "$mhbin"`/etc/mts.conf + mtsconf=`mhparam etcdir`/mts.conf if [ -f "$mtsconf" ]; then mts_entry=`grep '^mts:' "$mtsconf"` if [ "$mts_entry" ]; then -- 2.56.0