Lines Matching refs:TMPDIR
9 TMPDIR=
13 if [ ! "$TMPDIR" = "" ]; then
14 rm -rf $TMPDIR
28 TMPDIR=`mktemp -d /tmp/$PKGNAME-build.XXXXXX`
30 mkdir -p $TMPDIR/RPMS
31 mkdir -p $TMPDIR/SRPMS
32 mkdir -p $TMPDIR/BUILD
33 mkdir -p $TMPDIR/SOURCES
34 mkdir -p $TMPDIR/SPECS
40 cp $PROJECT-$VERSION.tar.gz $TMPDIR/SOURCES/$PROJECT-$VERSION.tar.gz
45 rpmbuild -bs --define "_topdir $TMPDIR" $TMPDIR/SPECS/$PKGNAME.spec
46 mv $TMPDIR/SRPMS/$PKGNAME-$VERSION-$BUILD.src.rpm $PKGNAME-$VERSION.src.rpm