diff options
-rw-r--r-- | src/info2html/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c index 6212b9d6..7f5a1d7a 100644 --- a/src/info2html/main.c +++ b/src/info2html/main.c @@ -76,11 +76,12 @@ main(int argc, char **argv) /* First, find the directory that the info file is in. */ dirs[0] = "/usr/info"; + dirs[1] = "/usr/share/info"; /* We now have at least one directory to look in. This is * necessary because we may not have an 'INFOPATH' set */ - ndirs = 1; + ndirs = 2; if(infopath) - for(ndirs = 1, ctmp = strtok((char *)args[0], ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":")) + for(ndirs = 2, ctmp = strtok((char *)args[0], ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":")) dirs[ndirs] = strdup(ctmp); for(i = 0; i < ndirs; i++) |