Author: esr
Date: Mon Mar 30 12:53:37 2009
New Revision: 34286
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34286&view=rev
Log:
Address bug #13293.
Modified:
trunk/src/Makefile.am
trunk/utils/update_unit_tree
Modified: trunk/src/Makefile.am
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/Makefile.am?rev=34286&r1=34285&r2=34286&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Mon Mar 30 12:53:37 2009
@@ -403,7 +403,7 @@
REVISION = $(shell LC_ALL=C svnversion -n $(topdir) 2>/dev/null)
.PRECIOUS: revision.hpp
revision.hpp: FORCE
- if [ "$(REVISION)" == "" ] || [ "$(REVISION)" == "exported" ]; then
echo '' >/tmp/westemp$$$$; \
+ if [ "$(REVISION)" = "" ] || [ "$(REVISION)" = "exported" ]; then echo
'' >/tmp/westemp$$$$; \
else echo '#define REVISION "$(REVISION)"' >/tmp/westemp$$$$; fi;\
if cmp -s revision.hpp /tmp/westemp$$$$ 2>/dev/null; then :; else cp
/tmp/westemp$$$$ revision.hpp; fi; \
if [ -e /tmp/westemp$$$$ ]; then rm /tmp/westemp$$$$; fi
Modified: trunk/utils/update_unit_tree
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/update_unit_tree?rev=34286&r1=34285&r2=34286&view=diff
==============================================================================
--- trunk/utils/update_unit_tree (original)
+++ trunk/utils/update_unit_tree Mon Mar 30 12:53:37 2009
@@ -40,7 +40,7 @@
#echo 'svn update...'
#svn update
#svn status
-if [ "$VERSION" == "trunk"]; then
+if [ "$VERSION" = "trunk"]; then
data/tools/wmlunits -d data/ -o $SITE/temp || exit 1
rm -rf $SITE/$VERSION
# move the generated files to their proper place
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits