summaryrefslogtreecommitdiffstats
path: root/ci/buildovs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/buildovs.sh')
-rwxr-xr-xci/buildovs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/buildovs.sh b/ci/buildovs.sh
index 5270f03..eefd380 100755
--- a/ci/buildovs.sh
+++ b/ci/buildovs.sh
@@ -56,7 +56,7 @@ export TOPDIR=$BUILD_BASE
export TMP_RELEASE_DIR=$TOPDIR/release
export CACHE_DIR=$TOPDIR/cache
-export TMPDIR=$TOPDIR/scratch
+export TEMPDIR=$TOPDIR/scratch
export RPMDIR=$TOPDIR/rpmbuild
mkdir -p $RPMDIR/RPMS
@@ -89,10 +89,10 @@ echo "Cleanup temporary dirs"
echo
cd $BUILD_BASE
-if [ -d $TMPDIR ]
+if [ -d $TEMPDIR ]
then
- echo rm -rf $TMPDIR
- rm -rf $TMPDIR
+ echo rm -rf $TEMPDIR
+ rm -rf $TEMPDIR
fi
# copy artifacts.