Skip to content

Commit

Permalink
run_release.sh fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Jul 23, 2015
1 parent e2a8a7b commit c6493c5
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions xdelta3/run_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -192,7 +195,7 @@ fi

cat > Makefile.test <<EOF
# Auto-generated ${DATE} -*- Mode: Makefile -*-
TMP = ${TMP}
TMP = ${XTMP}
EOF

Expand All @@ -216,9 +219,13 @@ buildall x86_64-w64-mingw32 -mconsole "${MINGW_CFLAGS}"
cat >> Makefile.test <<EOF
all: linux windows apple
clean: ${CLEAN}
.PHONY: linux windows apple
.PHONY: linux-build windows-build apple-build
.PHONY: linux-selftest windows-selftest apple-selftest
.PHONY: linux-regtest windows-regtest apple-regtest
linux: linux-build linux-selftest linux-regtest
windows: windows-build windows-selftest windows-regtest
apple: apple-build apple-selftest apple-regtest
Expand Down

0 comments on commit c6493c5

Please sign in to comment.