From c6493c5a57e1edc95fa27123e86fe14c3695f284 Mon Sep 17 00:00:00 2001 From: Josh MacDonald Date: Thu, 23 Jul 2015 00:18:31 -0700 Subject: [PATCH] run_release.sh fixes --- xdelta3/run_release.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/xdelta3/run_release.sh b/xdelta3/run_release.sh index 89d2cc7..937c724 100755 --- a/xdelta3/run_release.sh +++ b/xdelta3/run_release.sh @@ -32,9 +32,12 @@ OSXTGTS="" OSXTEST1="" OSXTEST2="" -TMP="${TMP}" -if [ "${TMP}" == "" ]; then - TMP="${TMPDIR}" +XTMP="/tmp" +if [ "${TMP}" != "" ]; then + XTMP="${TMP}" +fi +if [ "${TMPDIR}" != "" ]; then + XTMP="${TMPDIR}" fi find build -type f 2> /dev/null | xargs rm @@ -192,7 +195,7 @@ fi cat > Makefile.test <> Makefile.test <