ia64/xen-unstable

changeset 13568:dd55107d4a67

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 <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Jan 22 17:07:16 2007 +0000 (2007-01-22)
parents 200a9c6deeb3
children 687b1120765e
files tools/python/Makefile
line diff
     1.1 --- a/tools/python/Makefile	Mon Jan 22 16:27:03 2007 +0000
     1.2 +++ b/tools/python/Makefile	Mon Jan 22 17:07:16 2007 +0000
     1.3 @@ -8,7 +8,7 @@ all: build
     1.4  build:
     1.5  	CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
     1.6  	if which $(MSGFMT) >/dev/null ; then \
     1.7 -          for file in `cd xen/xm; find messages -name xen-xm.po`; do \
     1.8 +          for file in `cd ./xen/xm; find messages -name xen-xm.po`; do \
     1.9              dest=`echo "build/$$file" | \
    1.10                    sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \
    1.11              mkdir -p `dirname "$$dest"`; \