summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-04-19 18:41:12 +0000
committerErik Troan <ewt@redhat.com>2000-04-19 18:41:12 +0000
commitc4ab123e0b9a5a0cac0582b5a4ac88f4b96f8954 (patch)
tree20b2ae5c4de734a19190bf8d64a1074df6957fcc /scripts
parenta33626a1f9ca3ef190c4c303a8c49a537230e926 (diff)
downloadanaconda-c4ab123e0b9a5a0cac0582b5a4ac88f4b96f8954.tar.gz
anaconda-c4ab123e0b9a5a0cac0582b5a4ac88f4b96f8954.tar.xz
anaconda-c4ab123e0b9a5a0cac0582b5a4ac88f4b96f8954.zip
moved things out of /tmp; should be able to run simultaneously now
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 05c5c0904..3196564af 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -25,8 +25,6 @@ if [ ! -d $1 ]; then
LATEST="latest --arch $ARCH"
fi
-HOMEDIR=`pwd`
-
# remove all non unused python files
pythondeps() {
DIR=$1
@@ -86,15 +84,15 @@ expandPackageSet() {
PACKAGEDIR=$1
-DEST=/tmp/upd-instroot/hd
if [ -z "$2" ]; then
- DESTGR=/tmp/upd-instroot/gr
+ DESTGR=/tmp/upd-instroot
elif [ -d "$2" ]; then
DESTGR=$2/RedHat/instimage
else
echo "$2 is not a directory!"
exit 1
fi
+DEST=$DESTGR/hd-image
rm -rf $DEST $DESTGR
mkdir -p $DEST