From 9ec05cab03366562ac42b75986ce0e7f67371d74 Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 9 Dec 2007 02:43:28 +0000 Subject: Be more consistant and use UNZIPPER everywhere. --- usr.sbin/sysinstall/system.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/sysinstall/system.c') diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index b7fae6a..4705b63 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -114,7 +114,7 @@ reap_children(int sig) static char * expand(char *fname) { - char *gunzip = RunningAsInit ? "/stand/gunzip" : "/usr/bin/gunzip"; + char *unzipper = RunningAsInit ? "/stand/" UNZIPPER : "/usr/bin/" UNZIPPER; if (!directory_exists(DOC_TMP_DIR)) { Mkdir(DOC_TMP_DIR); @@ -125,7 +125,8 @@ expand(char *fname) } else unlink(DOC_TMP_FILE); - if (!file_readable(fname) || vsystem("%s < %s > %s", gunzip, fname, DOC_TMP_FILE)) + if (!file_readable(fname) || vsystem("%s < %s > %s", unzipper, fname, + DOC_TMP_FILE)) return NULL; return DOC_TMP_FILE; } -- cgit v1.1