diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-08 08:54:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-08 08:54:36 +0000 |
commit | 7e51f09a84728ab85cf82db31aad751f4aca98cb (patch) | |
tree | 412d8ec8d51ea1577e0884b928bfc378d1f29f28 /release/sysinstall/package.c | |
parent | 824afef0c4ffcf3871a0091dfb4fb8af21888b56 (diff) | |
download | FreeBSD-src-7e51f09a84728ab85cf82db31aad751f4aca98cb.zip FreeBSD-src-7e51f09a84728ab85cf82db31aad751f4aca98cb.tar.gz |
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.
Diffstat (limited to 'release/sysinstall/package.c')
-rw-r--r-- | release/sysinstall/package.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index a0bc1e4..91a8bd2 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.39 1996/06/25 04:28:23 jkh Exp $ + * $Id: package.c,v 1.40 1996/06/29 02:22:46 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -104,8 +104,8 @@ package_extract(Device *dev, char *name, Boolean depended) ret = DITEM_SUCCESS | DITEM_RESTORE; /* Make a couple of paranoid locations for temp files to live if user specified none */ if (!variable_get("PKG_TMPDIR")) { - Mkdir("/usr/tmp", NULL); - Mkdir("/var/tmp", NULL); + Mkdir("/usr/tmp"); + Mkdir("/var/tmp"); /* Set it to a location with as much space as possible */ variable_set2("PKG_TMPDIR", "/usr/tmp"); } |