summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-04-12 23:10:49 +0000
committerErik Troan <ewt@redhat.com>2000-04-12 23:10:49 +0000
commitaa3afa459c72a7c078c23f97875a94332310256b (patch)
tree8af46a8ae8806f90de701d4c5e978484cb3564be /scripts/buildinstall
parent2adf16207301c8132aff5f339acc449ead4f304c (diff)
downloadanaconda-aa3afa459c72a7c078c23f97875a94332310256b.tar.gz
anaconda-aa3afa459c72a7c078c23f97875a94332310256b.tar.xz
anaconda-aa3afa459c72a7c078c23f97875a94332310256b.zip
1) removed oot-specific paths
2) clean up after ourself 3) added .$$ to temporary directory name
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index bded9ce21..2993642bf 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -5,7 +5,7 @@ if [ ! -d $1/RedHat/RPMS ]; then
exit 1
fi
-BUILDINSTDIR=/tmp/buildinstall.tree
+BUILDINSTDIR=/tmp/buildinstall.tree.$$
rm -rf $BUILDINSTDIR
mkdir -p $BUILDINSTDIR
@@ -30,6 +30,6 @@ if [ ! -f $MK_IMAGES ]; then
fi
$UPD_INSTROOT $1/RedHat/RPMS $1
-$MK_IMAGES dist-7.0 /mnt/redhat/test/oot/i386/images /mnt/redhat/test/oot/i386/RedHat/instimage/modules
-
+$MK_IMAGES dist-7.0 $1/images $1/RedHat/instimage/modules
+rm -rf $BUILDINSTDIR