summaryrefslogtreecommitdiff
path: root/games/wesnoth/patches/patch-ab
blob: e8e58e2fbdb760b7adb9c3850284a7bca5cf4206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.10 2009/03/30 09:48:53 wiz Exp $

http://gna.org/bugs/?13293

--- src/Makefile.in.orig	2009-03-18 16:51:06.000000000 +0000
+++ src/Makefile.in
@@ -1884,7 +1884,7 @@ uninstall-am: uninstall-binPROGRAMS unin
 game_config.o: revision.hpp 
 .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