Author: esr
Date: Wed May 2 19:43:59 2007
New Revision: 17270
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17270&view=rev
Log:
Fix really stupid bug.
Modified:
trunk/utils/change_textdomain
Modified: trunk/utils/change_textdomain
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/change_textdomain?rev=17270&r1=17269&r2=17270&view=diff
==============================================================================
--- trunk/utils/change_textdomain (original)
+++ trunk/utils/change_textdomain Wed May 2 19:43:59 2007
@@ -127,20 +127,22 @@
elif [ "$1" = "-d" -o "$1" = "--dryrun" ]
then
do=echo
+ shift
fi
-campaign=$2
-old=$3
-new=$4
-if [ $campaign = "" ]
+campaign=$1
+old=$2
+new=$3
+#echo "campaign=$campaign, ols=$old, new=$new"
+if [ "$campaign" = "" ]
then
usage
die "a campaign name is required."
-elif [ ${old} = "" ]
+elif [ "${old}" = "" ]
then
usage
die "an old textdomain name is required."
-elif [ ${new} = "" ]
+elif [ "${new}" = "" ]
then
usage
die "a new textdomain name is required."
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits