# HG changeset patch # User kfraser@localhost.localdomain # Date 1169485636 0 # Node ID dd55107d4a679512c08d2c426f4876f424a3ae93 # Parent 200a9c6deeb3947f3c0e4727aa0074de6acfdb7e Fix failure to localise xm by preventing cd from writing to stdout which gets incorrectly captured as a value for the bash for loop. Signed-off-by: Keir Fraser diff -r 200a9c6deeb3 -r dd55107d4a67 tools/python/Makefile --- a/tools/python/Makefile Mon Jan 22 16:27:03 2007 +0000 +++ b/tools/python/Makefile Mon Jan 22 17:07:16 2007 +0000 @@ -8,7 +8,7 @@ all: build build: CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build if which $(MSGFMT) >/dev/null ; then \ - for file in `cd xen/xm; find messages -name xen-xm.po`; do \ + for file in `cd ./xen/xm; find messages -name xen-xm.po`; do \ dest=`echo "build/$$file" | \ sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \ mkdir -p `dirname "$$dest"`; \