diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2013-01-06 12:34:00 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2013-01-06 12:34:00 +0100 |
commit | ed26b4ad0ec296751300676ab1b5782e498dfdb5 (patch) | |
tree | 3c35cc6b8b123ac7155632c772b249ee4940bac9 /contrib/eventcmd-examples/multi.sh | |
parent | 214050e0567f1d152a001c7dd0ee903c6039ce37 (diff) | |
download | pianobar-windows-ed26b4ad0ec296751300676ab1b5782e498dfdb5.tar.gz pianobar-windows-ed26b4ad0ec296751300676ab1b5782e498dfdb5.tar.bz2 pianobar-windows-ed26b4ad0ec296751300676ab1b5782e498dfdb5.zip |
mktemp’s template argument is required on OS X
And possibly others. Fixes #337.
Diffstat (limited to 'contrib/eventcmd-examples/multi.sh')
-rwxr-xr-x | contrib/eventcmd-examples/multi.sh | 2 |
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 |