[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.0.5-testing] Add "chk build" check that we've got xgettext since it's now required.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1177007530 -3600
# Node ID 56fa8b1f8e08b5186ad8110881f779cb13a34190
# Parent  ed6de46738fdac4c5036491277168a8fad01badd
Add "chk build" check that we've got xgettext since it's now required.
Signed-off-by: Mats Petersson <mats.petersson@xxxxxxx>
---
 tools/check/check_xgettext |   14 ++++++++++++++
 1 files changed, 14 insertions(+)

diff -r ed6de46738fd -r 56fa8b1f8e08 tools/check/check_xgettext
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/check/check_xgettext        Thu Apr 19 19:32:10 2007 +0100
@@ -0,0 +1,14 @@
+#!/bin/sh
+# CHECK-BUILD
+
+RC=0
+
+TOOL="xgettext"
+which ${TOOL} 1>/dev/null 2>&1 || RC=1 
+
+if test ${RC} -ne 0; then
+       echo
+       echo " *** Check for the gettext utility (${TOOL}) FAILED"
+fi
+
+exit ${RC} 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.