mail[Wesnoth-commits] r25353 - /trunk/SConstruct


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on March 30, 2008 - 23:43:
Author: esr
Date: Sun Mar 30 23:43:35 2008
New Revision: 25353

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25353&view=rev
Log:
Fix bad indent.

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25353&r1=25352&r2=25353&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sun Mar 30 23:43:35 2008
@@ -1032,7 +1032,9 @@
 # compile message catalogs to binary format at installation time.
 # Without this step, the i18n support won't work.
 #
-if env.WhereIs("gmsgfmt"):
+if not env.WhereIs("gmsgfmt"):
+    print "Can't find gmsgfmt, i18n support won't work in this build."
+else:
     translation_dirs = os.listdir("po")
     translation_dirs.remove(".svn")
     translation_dirs.remove("wesnoth-manpages")
@@ -1052,8 +1054,7 @@
                 os.path.join("po", name, lingua + ".po"),
                 "gmsgfmt -c --statistics -o $TARGET $SOURCE"
                 )
-    else:
-        print "Can't find gmsgfmt, i18n support won't work in this build."
+
 #
 # Un-installation
 #




Related Messages


Powered by MHonArc, Updated Mon Mar 31 00:01:47 2008