Commit 7a491825 authored by Yaroslav Halchenko's avatar Yaroslav Halchenko

BP: do not rely on having --tmpdir for mktemp, use ${TMPDIR:-/tmp} instead

parent a68b3bc1
......@@ -4,7 +4,7 @@ set -e
set -u
# init
version='0.0.13'
version='0.0.16'
scriptname=$(basename $0)
mode=""
build_cmd=""
......@@ -244,7 +244,7 @@ fi
. /etc/matlab/debconf
# create logfile
logfile=$(mktemp --tmpdir ${pkg}-mexbuild-$(date -u +%s).XXXXXXX)
logfile=$(mktemp ${TMPDIR:-/tmp}/${pkg}-mexbuild-$(date -u +%s).XXXXXXX)
cat << EOT >> $logfile
$(print_version)
......
matlab-support (0.0.16) unstable; urgency=low
* For compatibility with older mktemp (e.g. as on lenny) -- do not rely
on having --tmpdir, use ${TMPDIR:-/tmp} instead
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 26 Jul 2011 14:22:20 -0400
matlab-support (0.0.15) unstable; urgency=low
* i18n release: Thanks to all translators and especially Christian Perrier
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment