diff options
author | Josh MacDonald <josh.macdonald@gmail.com> | 2015-07-23 00:18:31 -0700 |
---|---|---|
committer | Josh MacDonald <josh.macdonald@gmail.com> | 2015-07-23 00:18:31 -0700 |
commit | c6493c5a57e1edc95fa27123e86fe14c3695f284 (patch) | |
tree | 71923b72623d2346fa1a9b3951cd7855a7c80ad1 /xdelta3/run_release.sh | |
parent | e2a8a7b0529c99106783a719cbb0052c2616d6fd (diff) |
run_release.sh fixes
Diffstat (limited to 'xdelta3/run_release.sh')
-rwxr-xr-x | xdelta3/run_release.sh | 17 |
1 files 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="" | |||
32 | OSXTEST1="" | 32 | OSXTEST1="" |
33 | OSXTEST2="" | 33 | OSXTEST2="" |
34 | 34 | ||
35 | TMP="${TMP}" | 35 | XTMP="/tmp" |
36 | if [ "${TMP}" == "" ]; then | 36 | if [ "${TMP}" != "" ]; then |
37 | TMP="${TMPDIR}" | 37 | XTMP="${TMP}" |
38 | fi | ||
39 | if [ "${TMPDIR}" != "" ]; then | ||
40 | XTMP="${TMPDIR}" | ||
38 | fi | 41 | fi |
39 | 42 | ||
40 | find build -type f 2> /dev/null | xargs rm | 43 | find build -type f 2> /dev/null | xargs rm |
@@ -192,7 +195,7 @@ fi | |||
192 | 195 | ||
193 | cat > Makefile.test <<EOF | 196 | cat > Makefile.test <<EOF |
194 | # Auto-generated ${DATE} -*- Mode: Makefile -*- | 197 | # Auto-generated ${DATE} -*- Mode: Makefile -*- |
195 | TMP = ${TMP} | 198 | TMP = ${XTMP} |
196 | 199 | ||
197 | EOF | 200 | EOF |
198 | 201 | ||
@@ -216,9 +219,13 @@ buildall x86_64-w64-mingw32 -mconsole "${MINGW_CFLAGS}" | |||
216 | cat >> Makefile.test <<EOF | 219 | cat >> Makefile.test <<EOF |
217 | 220 | ||
218 | all: linux windows apple | 221 | all: linux windows apple |
219 | |||
220 | clean: ${CLEAN} | 222 | clean: ${CLEAN} |
221 | 223 | ||
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 | |||
222 | linux: linux-build linux-selftest linux-regtest | 229 | linux: linux-build linux-selftest linux-regtest |
223 | windows: windows-build windows-selftest windows-regtest | 230 | windows: windows-build windows-selftest windows-regtest |
224 | apple: apple-build apple-selftest apple-regtest | 231 | apple: apple-build apple-selftest apple-regtest |