summaryrefslogtreecommitdiff
path: root/os/debian/openttd-wrapper
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-04-07 14:07:49 +0000
committerrubidium <rubidium@openttd.org>2010-04-07 14:07:49 +0000
commitdfa9e9d9d3f49abc6d4957677db65c141adc92e8 (patch)
tree1acd8d4178b36251a2321da32f454716fc9112d8 /os/debian/openttd-wrapper
parent657940a6335c5156270dd27a75a5b6f4f9b2da07 (diff)
downloadopenttd-dfa9e9d9d3f49abc6d4957677db65c141adc92e8.tar.xz
(svn r19572) -Change: sync Debian packaging updates from Debian, but keep building a single package
Diffstat (limited to 'os/debian/openttd-wrapper')
-rw-r--r--os/debian/openttd-wrapper6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/debian/openttd-wrapper b/os/debian/openttd-wrapper
index 3c35f7d36..6f85f00b0 100644
--- a/os/debian/openttd-wrapper
+++ b/os/debian/openttd-wrapper
@@ -2,8 +2,10 @@
# This is a wrapper script that checks openttd's exit status and
# displays its stderr output
-# Get a file to capture stderr to
-TMPFILE=`mktemp --tmpdir openttd.errout.XXXXXXXXX`
+# Get a file to capture stderr to. Use the deprecated -t option, so this
+# works on the old mktemp from the mktemp package (which has been
+# replaced by the version from the coreutils package).
+TMPFILE=`mktemp -t openttd.errout.XXXXXXXXX`
if [ ! -w "$TMPFILE" ]; then
xmessage "Could not create temporary file for error messages. Not starting OpenTTD."