diff options
author | joachim.fasting <joachim.fasting@gmail.com> | 2007-06-19 14:42:12 +0200 |
---|---|---|
committer | joachim.fasting <joachim.fasting@gmail.com> | 2007-06-19 14:42:12 +0200 |
commit | afea637c68d30cf3bc5c2dc6db7a3f284e0b3f40 (patch) | |
tree | c275374035de275241991d0b0380c87d28c571d6 /scripts | |
parent | bc372a29f7ab22c470e3f75244e997d451c83b87 (diff) | |
download | XMonadContrib-afea637c68d30cf3bc5c2dc6db7a3f284e0b3f40.tar.gz XMonadContrib-afea637c68d30cf3bc5c2dc6db7a3f284e0b3f40.tar.xz XMonadContrib-afea637c68d30cf3bc5c2dc6db7a3f284e0b3f40.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-xmonad.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |