[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix Makefile problem when "gcc -v" includes a '/'
# HG changeset patch # User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx # Node ID c6c739bf254d066891224918573e73ba90a47a95 # Parent fcbc33a437ecfc7b1753d0cd79b33348a9941de3 Fix Makefile problem when "gcc -v" includes a '/' and convert | to / to avoid the same problem with '|'. Original patch from Jos Vos, modified to prevent a '|' problem. From: Jos Vos <jos@xxxxxx> Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx> diff -r fcbc33a437ec -r c6c739bf254d xen/Makefile --- a/xen/Makefile Thu Feb 16 14:10:01 2006 +++ b/xen/Makefile Thu Feb 16 14:26:02 2006 @@ -91,7 +91,7 @@ -e 's/@@whoami@@/$(shell whoami)/g' \ -e 's/@@domain@@/$(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown]))/g' \ -e 's/@@hostname@@/$(shell hostname)/g' \ - -e 's/@@compiler@@/$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)/g' \ + -e 's|@@compiler@@|$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1 | sed -e "s;|;/;")|g' \ -e 's/@@version@@/$(XEN_VERSION)/g' \ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |