Permalink
Browse files

mktemp’s template argument is required on OS X

And possibly others. Fixes #337.
  • Loading branch information...
1 parent 214050e commit ed26b4ad0ec296751300676ab1b5782e498dfdb5 @PromyLOPh committed Jan 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit ed26b4a

Please sign in to comment.