summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 17:28:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 17:28:50 +0000
commita3288ac52e17ffd58a82023774c1793e2b854580 (patch)
treeb2c7d80b26c9ab33cc334c8d1e0dcf9ba9c6f927 /games-strategy/heroes3
parentMIPS love. (diff)
downloadgentoo-2-a3288ac52e17ffd58a82023774c1793e2b854580.tar.gz
gentoo-2-a3288ac52e17ffd58a82023774c1793e2b854580.tar.bz2
gentoo-2-a3288ac52e17ffd58a82023774c1793e2b854580.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-strategy/heroes3')
-rw-r--r--games-strategy/heroes3/ChangeLog8
-rw-r--r--games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild23
2 files changed, 18 insertions, 13 deletions
diff --git a/games-strategy/heroes3/ChangeLog b/games-strategy/heroes3/ChangeLog
index 0e12ff0a6266..fee617027a62 100644
--- a/games-strategy/heroes3/ChangeLog
+++ b/games-strategy/heroes3/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/heroes3
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/ChangeLog,v 1.13 2006/10/24 23:09:12 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/ChangeLog,v 1.14 2007/03/07 17:28:50 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ heroes3-1.3.1a-r2.ebuild:
+ Change all instances of [ to [[.
24 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
heroes3-1.3.1a-r2.ebuild:
diff --git a/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild b/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild
index b80c14c82794..83382d993756 100644
--- a/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild
+++ b/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild,v 1.3 2007/01/26 19:44:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/heroes3-1.3.1a-r2.ebuild,v 1.4 2007/03/07 17:28:50 wolf31o2 Exp $
# [x] Base Install Required (+4 MB)
# [x] Scenarios (+7 MB)
@@ -58,19 +58,19 @@ pkg_setup() {
use nocd && fullinstall=1
use sounds && use videos && use maps && fullinstall=1
- [ ${fullinstall} -eq 1 ] \
+ [[ ${fullinstall} -eq 1 ]] \
&& ewarn "The full installation takes about 341 MB of space!"
-# if [ -n "${fullinstall}" ]
+# if [[ -n "${fullinstall}" ]]
# then
# langcount=0
# for i in ${LINGUAS}
# do
# i="${i/_/-}"
-# if [ ${i} != "en" ]
+# if [[ ${i} != "en" ]]
# then
# let $((++langcount))
-# if [ $langcount = 2 ]
+# if [[ $langcount = 2 ]]
# then
# eerror "Heroes3 only supports one localization at once!"
# die "Localization is only supported when Heroes3 is in a single language!"
@@ -81,7 +81,7 @@ pkg_setup() {
# for i in ${LINGUAS}
# do
# i="${i/_/-}"
-# if [ ${i} != "en" ]
+# if [[ ${i} != "en" ]]
# then
# eerror "Full installation (nocd flag or data + video + maps flags) is needed for ${i} language!"
# die "Localization is only supported when Heroes3 is fully locally installed!"
@@ -98,7 +98,7 @@ src_unpack() {
# for i in ${LINGUAS}
# do
# i="${i/_/-}"
-# if [ ${i} != "en" ]
+# if [[ ${i} != "en" ]]
# then
# mkdir localize
# cd localize
@@ -139,12 +139,12 @@ src_install() {
fi
fi
-# if [ -n "${fullinstall}" ]
+# if [[ -n "${fullinstall}" ]]
# then
# for i in ${LINGUAS}
# do
# i="${i/_/-}"
-# if [ ${i} != "en" ]
+# if [[ ${i} != "en" ]]
# then
# find "${S}/localize/${i}" -type f | while read xfile
# do
@@ -153,7 +153,8 @@ src_install() {
# ebegin "Localizing ${file}"
# xdelta patch "${xfile}" "${Ddir}/${file}" "${Ddir}/${file}.xdp"
# local retval=$?
-# if [ $retval = 0 ] ; then
+# if [[ $retval = 0 ]]
+# then
# mv -f "${Ddir}/${file}.xdp" "${Ddir}/${file}"
# else
# rm -f "${Ddir}/${file}.xdp"