Fix failure to localise xm by preventing cd from writing to stdout
A message that is not in the archive (sent off-list or not yet received): [email protected]
Keir,
I think this is the wrong fix. Rather you shouldn't be exporting CDPATH to the environment. It's useful only to your interactive shell and shouldn't be passed on to scripts, builds, etc. Lots of scripts use "cd" in command substitution without explicitly throwing away stdout.
Aron
Xen staging patchbot-unstable wrote: [Mon Jan 22 2007, 12:08:18PM EST]
Quoted 30 lines
# HG changeset patch
# User [email protected]
# Date 1169485636 0
# Node IDdd55107d4a679512c08d2c426f4876f424a3ae93
# Parent200a9c6deeb3947f3c0e4727aa0074de6acfdb7e
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 <[email protected]>--- tools/python/Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)diff -r
200a9c6deeb3-rdd55107d4a67tools/python/Makefiletools/python/Makefile +1
-1@@ -8,7 +8,7 @@ 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"`; \_______________________________________________
Xen-staging mailing list
[email protected]
http://lists.xensource.com/xen-staging