]> diplodocus.org Git - nmh/commitdiff
Use "mhparam etcdir" instead of hard-coded etc in build_nmh.
authorDavid Levine <levinedl@acm.org>
Sun, 5 Oct 2014 15:18:25 +0000 (10:18 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 5 Oct 2014 15:18:25 +0000 (10:18 -0500)
docs/contrib/build_nmh

index ba421bf..499fade 100755 (executable)
@@ -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