mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
11f063545a
commit
efa2dca17a
1 file changed
+1
-1
@@ -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"`; \
|
||||
|
||||