diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-08 08:54:36 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-08 08:54:36 +0000 |
commit | cf1647cd2fd785ffdd4872e03dd8836d010af5f2 (patch) | |
tree | 412d8ec8d51ea1577e0884b928bfc378d1f29f28 /release/sysinstall/system.c | |
parent | 502ba6e4a88ba3af76f4f20255eeb64f3e6b4989 (diff) | |
download | src-cf1647cd2fd785ffdd4872e03dd8836d010af5f2.tar.gz src-cf1647cd2fd785ffdd4872e03dd8836d010af5f2.zip |
Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-) While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.
Notes
Notes:
svn path=/head/; revision=17005
Diffstat (limited to 'release/sysinstall/system.c')
-rw-r--r-- | release/sysinstall/system.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c index 936456bf57ed..4dce756208ed 100644 --- a/release/sysinstall/system.c +++ b/release/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.59 1996/05/16 11:47:46 jkh Exp $ + * $Id: system.c,v 1.60 1996/07/05 08:36:02 jkh Exp $ * * Jordan Hubbard * @@ -26,6 +26,7 @@ /* Where we stick our temporary expanded doc file */ +#define DOC_TMP_DIR "/tmp" #define DOC_TMP_FILE "/tmp/doc.tmp" /* @@ -44,6 +45,7 @@ handle_intr(int sig) static char * expand(char *fname) { + Mkdir(DOC_TMP_DIR); unlink(DOC_TMP_FILE); if (vsystem("gzip -c -d %s > %s", fname, DOC_TMP_FILE)) return NULL; |