diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-15 07:32:45 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-15 07:32:45 +0000 |
commit | fa94b8f84cfe87cc01f59e390237165ac34933c7 (patch) | |
tree | a1f0df0db0a5b819f2434f1c87a0878b5a7bb9f9 | |
parent | a278286f2c868a33ca9b9d99e394502a0a155172 (diff) |
Set TMPDIR for tar's sake
-rw-r--r-- | distrib/amiga/floppies/upgr/upgrade.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/amiga/floppies/upgr/upgrade.sh b/distrib/amiga/floppies/upgr/upgrade.sh index cd8f62cd2c4..ebd683ea35f 100644 --- a/distrib/amiga/floppies/upgr/upgrade.sh +++ b/distrib/amiga/floppies/upgr/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: upgrade.sh,v 1.4 1996/06/29 05:54:07 tholo Exp $ +# $OpenBSD: upgrade.sh,v 1.5 1996/10/15 07:32:44 niklas Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -259,6 +259,8 @@ if [ $upgradefs = YES ]; then echo "Done." fi +export TMPDIR=/mnt # tar needs a writable tmp directory + echo "" echo "Copying bootstrapping binaries and config files to the hard drive..." $DONTDOIT tar -cf - sbin/mount_ffs | (cd /mnt ; tar -xpf - ) |