Address bug #13293.

This commit is contained in:
Eric S. Raymond 2009-03-30 10:53:37 +00:00
parent 47b7a82e46
commit 59a6ec2937
2 changed files with 2 additions and 2 deletions

View file

@ -403,7 +403,7 @@ game_config.o: revision.hpp
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

View file

@ -40,7 +40,7 @@ fi
#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