From 25edf1a5ebab630e74e33fc2e13a2440e9731ea3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 17 Jan 2001 19:51:08 +0000 Subject: [PATCH] Look for help files in /usr/src/usr.sbin/sysinstall instead of /usr/src/release/sysinstall. --- usr.sbin/sade/system.c | 4 ++-- usr.sbin/sysinstall/system.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index 29399b955a80..b222d706d673 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/system.c @@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf) snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file); if (file_readable(buf)) return expand(buf); - snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.hlp", file); + snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.hlp", file); if (file_readable(buf)) return buf; - snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.TXT", file); + snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.TXT", file); if (file_readable(buf)) return buf; return NULL; diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index 29399b955a80..b222d706d673 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -326,10 +326,10 @@ systemHelpFile(char *file, char *buf) snprintf(buf, FILENAME_MAX, "/stand/help/%s.TXT.gz", file); if (file_readable(buf)) return expand(buf); - snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.hlp", file); + snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.hlp", file); if (file_readable(buf)) return buf; - snprintf(buf, FILENAME_MAX, "/usr/src/release/sysinstall/help/%s.TXT", file); + snprintf(buf, FILENAME_MAX, "/usr/src/usr.sbin/sysinstall/help/%s.TXT", file); if (file_readable(buf)) return buf; return NULL;