From afea637c68d30cf3bc5c2dc6db7a3f284e0b3f40 Mon Sep 17 00:00:00 2001 From: "joachim.fasting" Date: Tue, 19 Jun 2007 14:42:12 +0200 Subject: run-xmonad.sh: don't hard-code path to mkfifo. mkfifo isn't located in /sbin on all distributions (Gentoo puts it in /bin). By temporarily appending /sbin to PATH both setups are supported. 'which' and friends are not viable options since /sbin usually isn't in user's PATH by default. darcs-hash:20070619124212-ea16c-50a4865c9e3714b1a61c4d4f489f819ed959d88f.gz --- scripts/run-xmonad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run-xmonad.sh') diff --git a/scripts/run-xmonad.sh b/scripts/run-xmonad.sh index 9f40f9f..bbea66d 100755 --- a/scripts/run-xmonad.sh +++ b/scripts/run-xmonad.sh @@ -20,7 +20,7 @@ PATH=${HOME}/bin:$PATH # PIPE=$HOME/.xmonad-status rm -f $PIPE -/sbin/mkfifo -m 600 $PIPE +PATH=${PATH}:/sbin mkfifo -m 600 $PIPE [ -p $PIPE ] || exit # launch the external 60 second clock, and launch the workspace status bar -- cgit v1.2.3