Replaced C program `install-mh' by shell script `mmh'.
[mmh] / uip / mhparam.c
index 575c7a7..dc122ad 100644 (file)
@@ -12,7 +12,6 @@
 #include <h/mh.h>
 
 extern char *mhlibdir;
-extern char *mhetcdir;
 
 static struct swit switches[] = {
 #define COMPSW  0
@@ -84,7 +83,7 @@ main(int argc, char **argv)
        char *cp, buf[BUFSIZ], **argp;
        char **arguments, *comps[MAXARGS];
 
-       invo_name = r1bindex(argv[0], '/');
+       invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */
        context_read();