aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-02-05 22:15:52 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-02-05 22:15:52 +0000
commit63cad5499d30b32c21c503ed0355c93e019aa908 (patch)
tree500646030aa6c2673dbea985fcebbdc05324dae7 /usr.sbin/sysinstall/package.c
parent23426719ecf5f247390c8ae8a4f2fba74de7df5a (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index da1ec9c4a9c7..a1991a254747 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/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.64 1997/09/17 16:18:16 pst Exp $
+ * $Id: package.c,v 1.65 1997/10/15 04:37:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -117,7 +117,7 @@ package_extract(Device *dev, char *name, Boolean depended)
/* Make a couple of paranoid locations for temp files to live if user specified none */
if (!variable_get(VAR_PKG_TMPDIR)) {
/* Set it to a location with as much space as possible */
- variable_set2(VAR_PKG_TMPDIR, "/usr/tmp");
+ variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0);
}
Mkdir(variable_get(VAR_PKG_TMPDIR));
vsystem("chmod 1777 %s", variable_get(VAR_PKG_TMPDIR));