diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-07 17:15:52 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-07 17:15:52 +0000 |
commit | b3b1191b16f2758f1fc2e2dac808f263585ff104 (patch) | |
tree | d98a67aaaa0dd6a71d07716dcfb3c1a8459471af /games-rpg | |
parent | Correct deps for new meta ebuild 4.4.0-r2. Forced to drop ~alpha ~arm ~hppa ~... (diff) | |
download | gentoo-2-b3b1191b16f2758f1fc2e2dac808f263585ff104.tar.gz gentoo-2-b3b1191b16f2758f1fc2e2dac808f263585ff104.tar.bz2 gentoo-2-b3b1191b16f2758f1fc2e2dac808f263585ff104.zip |
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/planeshift/ChangeLog | 6 | ||||
-rw-r--r-- | games-rpg/planeshift/files/planeshift | 4 | ||||
-rw-r--r-- | games-rpg/planeshift/files/planeshift-setup | 4 | ||||
-rw-r--r-- | games-rpg/planeshift/files/planeshift-updater | 6 |
4 files changed, 12 insertions, 8 deletions
diff --git a/games-rpg/planeshift/ChangeLog b/games-rpg/planeshift/ChangeLog index 5c1db2ee7242..a124f38f661a 100644 --- a/games-rpg/planeshift/ChangeLog +++ b/games-rpg/planeshift/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-rpg/planeshift # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.11 2007/01/05 05:00:58 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.12 2007/03/07 17:15:52 wolf31o2 Exp $ + + 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> files/planeshift, + files/planeshift-setup, files/planeshift-updater: + Change all instances of [ to [[. 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> planeshift-0.3.011.ebuild: diff --git a/games-rpg/planeshift/files/planeshift b/games-rpg/planeshift/files/planeshift index 79e5b5e8985b..cdb542d1b8c6 100644 --- a/games-rpg/planeshift/files/planeshift +++ b/games-rpg/planeshift/files/planeshift @@ -2,12 +2,12 @@ PLANESHIFT_DIR="/opt/planeshift" -if [ ! -d "$PLANESHIFT_DIR" ]; then +if [[ ! -d "${PLANESHIFT_DIR}" ]] ; then echo "Your Planeshift directory is missing. You need to reinstall Planeshift!" exit 1 fi -cd "$PLANESHIFT_DIR" +cd "${PLANESHIFT_DIR}" export CRYSTAL="/opt/crystal/lib/crystalspace" export CEL="/opt/crystal/lib/cel" diff --git a/games-rpg/planeshift/files/planeshift-setup b/games-rpg/planeshift/files/planeshift-setup index 90bc2884eebf..3dcce9c5d1bf 100644 --- a/games-rpg/planeshift/files/planeshift-setup +++ b/games-rpg/planeshift/files/planeshift-setup @@ -2,12 +2,12 @@ PLANESHIFT_DIR="/opt/planeshift" -if [ ! -d "$PLANESHIFT_DIR" ]; then +if [[ ! -d "${PLANESHIFT_DIR}" ]] ; then echo "Your Planeshift directory is missing. You need to reinstall Planeshift!" exit 1 fi -cd "$PLANESHIFT_DIR" +cd "${PLANESHIFT_DIR}" export CRYSTAL="/opt/crystal/lib/crystalspace" export CEL="/opt/crystal/lib/cel" diff --git a/games-rpg/planeshift/files/planeshift-updater b/games-rpg/planeshift/files/planeshift-updater index 401cdd99ba78..d74f2bf89bd3 100644 --- a/games-rpg/planeshift/files/planeshift-updater +++ b/games-rpg/planeshift/files/planeshift-updater @@ -2,16 +2,16 @@ PLANESHIFT_DIR="/opt/planeshift" -if [ ! -d "$PLANESHIFT_DIR" ]; then +if [[ ! -d "${PLANESHIFT_DIR}" ]] ; then echo "Your Planeshift directory is missing. You need to reinstall Planeshift!" exit 1 fi -cd "$PLANESHIFT_DIR" +cd "${PLANESHIFT_DIR}" export CRYSTAL="/opt/crystal/lib/crystalspace" export CEL="/opt/crystal/lib/cel" ./updater $@ -chmod g+rw "$PLANESHIFT_DIR" -R 2>/dev/null +chmod g+rw "${PLANESHIFT_DIR}" -R 2>/dev/null |