summaryrefslogtreecommitdiff
path: root/contrib/eventcmd-examples
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2013-01-06 12:34:00 +0100
committerLars-Dominik Braun <lars@6xq.net>2013-01-06 12:34:00 +0100
commited26b4ad0ec296751300676ab1b5782e498dfdb5 (patch)
tree3c35cc6b8b123ac7155632c772b249ee4940bac9 /contrib/eventcmd-examples
parent214050e0567f1d152a001c7dd0ee903c6039ce37 (diff)
downloadpianobar-ed26b4ad0ec296751300676ab1b5782e498dfdb5.tar.gz
pianobar-ed26b4ad0ec296751300676ab1b5782e498dfdb5.tar.bz2
pianobar-ed26b4ad0ec296751300676ab1b5782e498dfdb5.zip
mktemp’s template argument is required on OS X
And possibly others. Fixes #337.
Diffstat (limited to 'contrib/eventcmd-examples')
-rwxr-xr-xcontrib/eventcmd-examples/multi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/eventcmd-examples/multi.sh b/contrib/eventcmd-examples/multi.sh
index a6eb016..4aa66a8 100755
--- a/contrib/eventcmd-examples/multi.sh
+++ b/contrib/eventcmd-examples/multi.sh
@@ -3,7 +3,7 @@
# Executes all scripts located in ~/.config/pianobar/eventcmd.d/ as if they
# were called by pianobar directly
-STDIN=`mktemp`
+STDIN=`mktemp ${TMPDIR:-/tmp}/pianobar.XXXXXX`
cat >> $STDIN
for F in ~/.config/pianobar/eventcmd.d/*; do