Skip to content

Commit c6493c5

Browse files
committed
run_release.sh fixes
1 parent e2a8a7b commit c6493c5

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

xdelta3/run_release.sh

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ OSXTGTS=""
3232
OSXTEST1=""
3333
OSXTEST2=""
3434

35-
TMP="${TMP}"
36-
if [ "${TMP}" == "" ]; then
37-
TMP="${TMPDIR}"
35+
XTMP="/tmp"
36+
if [ "${TMP}" != "" ]; then
37+
XTMP="${TMP}"
38+
fi
39+
if [ "${TMPDIR}" != "" ]; then
40+
XTMP="${TMPDIR}"
3841
fi
3942

4043
find build -type f 2> /dev/null | xargs rm
@@ -192,7 +195,7 @@ fi
192195

193196
cat > Makefile.test <<EOF
194197
# Auto-generated ${DATE} -*- Mode: Makefile -*-
195-
TMP = ${TMP}
198+
TMP = ${XTMP}
196199
197200
EOF
198201

@@ -216,9 +219,13 @@ buildall x86_64-w64-mingw32 -mconsole "${MINGW_CFLAGS}"
216219
cat >> Makefile.test <<EOF
217220
218221
all: linux windows apple
219-
220222
clean: ${CLEAN}
221223
224+
.PHONY: linux windows apple
225+
.PHONY: linux-build windows-build apple-build
226+
.PHONY: linux-selftest windows-selftest apple-selftest
227+
.PHONY: linux-regtest windows-regtest apple-regtest
228+
222229
linux: linux-build linux-selftest linux-regtest
223230
windows: windows-build windows-selftest windows-regtest
224231
apple: apple-build apple-selftest apple-regtest

0 commit comments

Comments
 (0)