summaryrefslogtreecommitdiff
path: root/games/fsgs/files/fsgs.sh
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-08-14 00:14:07 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-08-14 00:14:07 +0000
commite2cd1247176376b58e8acf1f93c722c24604e6fe (patch)
treeff4bf125482f0b2c6b42821b5c9a47ffef380b71 /games/fsgs/files/fsgs.sh
parent* Always depend on external libvorbis when building with Ogg Vorbis support. (diff)
Fix startup-scripts for -current /bin/sh issues.
Notes
Notes: svn path=/head/; revision=64482
Diffstat (limited to '')
-rw-r--r--games/fsgs/files/fsgs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/fsgs/files/fsgs.sh b/games/fsgs/files/fsgs.sh
index 0baeafa5509b..aec504082670 100644
--- a/games/fsgs/files/fsgs.sh
+++ b/games/fsgs/files/fsgs.sh
@@ -7,7 +7,11 @@ fi
case "$1" in
start)
- cd ${PREFIX}; [ -x fsgs/fsgs -a -f fsgs/fsgs.cfg ] && fsgs/fsgs > /dev/null & && echo -n ' fsgs'
+ cd ${PREFIX}
+ if [ -x fsgs/fsgs -a -f fsgs/fsgs.cfg ]; then
+ fsgs/fsgs > /dev/null &
+ echo -n ' fsgs'
+ fi
;;
stop)
killall fsgs && echo -n ' fsgs'