aboutsummaryrefslogtreecommitdiffstats
path: root/games/uox3/files
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-08-14 08:14:07 +0800
committeranders <anders@FreeBSD.org>2002-08-14 08:14:07 +0800
commitb324d4c0e0a3cd3a459edc4775e4100652b8bb92 (patch)
tree3521d2e4b7ac09b8b05a8984b37213ed5228f76e /games/uox3/files
parent714c4e18805009109b98dcc2b7c97a817790758d (diff)
downloadfreebsd-ports-gnome-b324d4c0e0a3cd3a459edc4775e4100652b8bb92.tar.gz
freebsd-ports-gnome-b324d4c0e0a3cd3a459edc4775e4100652b8bb92.tar.zst
freebsd-ports-gnome-b324d4c0e0a3cd3a459edc4775e4100652b8bb92.zip
Fix startup-scripts for -current /bin/sh issues.
Diffstat (limited to 'games/uox3/files')
-rw-r--r--games/uox3/files/uox3.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/uox3/files/uox3.sh b/games/uox3/files/uox3.sh
index 47e05f569fa7..90978e9a0c61 100644
--- a/games/uox3/files/uox3.sh
+++ b/games/uox3/files/uox3.sh
@@ -4,11 +4,12 @@ uox3dir=/usr/local/uox3
case "$1" in
start)
- [ -x ${uox3dir}/uox3 ] && \
- cd ${uox3dir} && \
- uox3 > ${uox3dir}/stdout.log & && \
+ if [ -x ${uox3dir}/uox3 ]; then
+ cd ${uox3dir}
+ uox3 > ${uox3dir}/stdout.log &
echo -n ' uox3'
- ;;
+ fi
+ ;;
stop)
killall uox3 && echo -n ' uox3'
;;