From ed26b4ad0ec296751300676ab1b5782e498dfdb5 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <lars@6xq.net>
Date: Sun, 6 Jan 2013 12:34:00 +0100
Subject: mktempā€™s template argument is required on OS X
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

And possibly others. Fixes #337.
---
 contrib/eventcmd-examples/multi.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3