From: kfraser@localhost.localdomain Date: Mon, 22 Jan 2007 17:07:16 +0000 (+0000) Subject: Fix failure to localise xm by preventing cd from writing to stdout X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15371^2~104 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=efa2dca17ae5e5807183e3da21e21cfec6776e4b;p=xen.git 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 --git a/tools/python/Makefile b/tools/python/Makefile index 085ac84b5a..dfef918cb4 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -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"`; \