projects
/
tpope-extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b19fc
)
Search /usr/games in addition to /usr/local/bin
author
Tim Pope
<code@tpope.net>
Fri, 6 Aug 2004 02:20:06 +0000
(
02:20
+0000)
committer
Tim Pope
<code@tpope.net>
Fri, 6 Aug 2004 02:20:06 +0000
(
02:20
+0000)
bin/gamelaunch
patch
|
blob
|
history
diff --git
a/bin/gamelaunch
b/bin/gamelaunch
index 9914ae13258fdd116c1edf05eb1e6eaebcd8d1a4..a3f03a7627337c66823c0d9e21023c12dcd3e9b9 100755
(executable)
--- a/
bin/gamelaunch
+++ b/
bin/gamelaunch
@@
-29,8
+29,10
@@
xmodmap -e "keysym Hyper_L = F14"
xmodmap -e "keysym Super_R = F15"
for suffix in '_demo' '-demo' 'demo' ''; do
+ [ -x "/usr/games/`basename $0`$suffix" ] && \
+ binary="/usr/games/`basename $0`$suffix"
[ -x "/usr/local/bin/`basename $0`$suffix" ] && \
- binary=
/usr/local/bin/`basename $0`$suffix
+ binary=
"/usr/local/bin/`basename $0`$suffix"
done
if [ "`basename $0`" = gamelaunch ]; then