mail[Wesnoth-commits] r25245 - /trunk/utils/update_unit_tree


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

Header


Content

Posted by soliton . de on March 28, 2008 - 16:27:
Author: soliton
Date: Fri Mar 28 16:27:38 2008
New Revision: 25245

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25245&view=rev
Log:
* exit before deletion if the unit tree script fails

Modified:
    trunk/utils/update_unit_tree

Modified: trunk/utils/update_unit_tree
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/update_unit_tree?rev=25245&r1=25244&r2=25245&view=diff
==============================================================================
--- trunk/utils/update_unit_tree (original)
+++ trunk/utils/update_unit_tree Fri Mar 28 16:27:38 2008
@@ -44,7 +44,7 @@
        # make sure we update with the right version
        sed -i -e "s/\(my \$version = '\).*\(';\)/\1$VERSION\2/" units.pl
 fi
-./units.pl
+./units.pl || exit 1
 rm -rf $SITE/$VERSION
 # move the generated files to their proper place
 mv files $SITE/$VERSION




Related Messages


Powered by MHonArc, Updated Fri Mar 28 16:41:29 2008