Address bug #13293.
This commit is contained in:
parent
47b7a82e46
commit
59a6ec2937
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue