diff options
author | anders <anders@FreeBSD.org> | 2002-08-14 08:14:07 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-08-14 08:14:07 +0800 |
commit | b324d4c0e0a3cd3a459edc4775e4100652b8bb92 (patch) | |
tree | 3521d2e4b7ac09b8b05a8984b37213ed5228f76e /games/uox3/files | |
parent | 714c4e18805009109b98dcc2b7c97a817790758d (diff) | |
download | freebsd-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.sh | 9 |
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' ;; |