aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-22 17:07:16 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-22 17:07:16 +0000
commitefa2dca17ae5e5807183e3da21e21cfec6776e4b (patch)
tree10d1cf786f4d7217cb058c8687b35848005bd18c /tools/python/Makefile
parent11f063545a4d4b75105b480491f247770b2d7a8a (diff)
downloadxen-efa2dca17ae5e5807183e3da21e21cfec6776e4b.tar.gz
xen-efa2dca17ae5e5807183e3da21e21cfec6776e4b.tar.bz2
xen-efa2dca17ae5e5807183e3da21e21cfec6776e4b.zip
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>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile2
1 files changed, 1 insertions, 1 deletions
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"`; \