summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
committerobrien <obrien@FreeBSD.org>2002-04-01 21:35:24 +0000
commit1f9ca3193732e910a1a2f6162841d6b3fab60a60 (patch)
tree8be7509f25eecde0b817510b46a17463663ec68d /usr.sbin/sysinstall/package.c
parent0ddcf62ed59f8c10287786d52a41bd0772e9abdb (diff)
downloadFreeBSD-src-1f9ca3193732e910a1a2f6162841d6b3fab60a60.zip
FreeBSD-src-1f9ca3193732e910a1a2f6162841d6b3fab60a60.tar.gz
Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index 5a21e32..f1a3b87 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -138,7 +138,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", 0);
+ variable_set2(VAR_PKG_TMPDIR, "/var/tmp", 0);
}
Mkdir(variable_get(VAR_PKG_TMPDIR));
vsystem("chmod 1777 %s", variable_get(VAR_PKG_TMPDIR));
OpenPOWER on IntegriCloud