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:
kfraser@localhost.localdomain committed 2007-01-22 17:07:16 +00:00
1 parent 11f063545a
commit efa2dca17a
1 file changed
+1 -1
+1 -1
View File
@@ -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"`; \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.