summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-08-20 08:32:50 -0400
committerJesse Keating <jkeating@redhat.com>2008-08-20 08:32:50 -0400
commit859e835c6fff54d0b3cca7b643a6007bfac897c4 (patch)
tree627292bc31aac6f9b734ab5f912e71985a19f8b5
parenta8910265c290f8dba1bc9539842355e6019153df (diff)
downloadreleng-859e835c6fff54d0b3cca7b643a6007bfac897c4.tar.gz
releng-859e835c6fff54d0b3cca7b643a6007bfac897c4.tar.xz
releng-859e835c6fff54d0b3cca7b643a6007bfac897c4.zip
Use a "secure" tempdir for doing the cvs checkout in.
-rwxr-xr-xscripts/buildrawhide4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index b6f6920..bb11e3d 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -16,9 +16,9 @@ MOCKCONFIG=fedora-rawhide-compose-i386
OLD=$(find /mnt/koji/mash/ -maxdepth 1 -type d -name "rawhide-20*" 2>/dev/null| sort | tail -1)
-mkdir /tmp/mashbuild.$DATE
+TMPDIR=`mktemp /tmp/rawhide.$DATE.XXXX`
mkdir -p /mnt/koji/mash/rawhide-$DATE/logs
-pushd /tmp/mashbuild.$DATE
+pushd $TMPDIR
cvs -d :pserver:anonymous@cvs.fedora.redhat.com:/cvs/pkgs -z3 -q co comps && {
pushd comps
make comps-rawhide