|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Trivial fixes for numeric arg to head/tail.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6891f0c1168384b35bc6758363d9326c3d538f79
# Parent a83ac0806d6b900eafac6e6942352f88fe89d449
Trivial fixes for numeric arg to head/tail.
diff -r a83ac0806d6b -r 6891f0c11683 xen/Makefile
--- a/xen/Makefile Fri Jul 15 13:39:50 2005
+++ b/xen/Makefile Fri Jul 15 19:34:10 2005
@@ -96,11 +96,11 @@
-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 -1)/g' \
+ -e 's/@@compiler@@/$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)/g' \
-e 's/@@version@@/$(XEN_VERSION)/g' \
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
- -e 's!@@changeset@@!$(shell (hg parents | awk -F:
'/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}')
2>/dev/null || (head -6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[
]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information
unavailable)!g' \
+ -e 's!@@changeset@@!$(shell (hg parents | awk -F:
'/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}')
2>/dev/null || (head -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[
]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information
unavailable)!g' \
< include/xen/compile.h.in > $@.new
@cat include/xen/banner.h >> $@.new
@mv -f $@.new $@
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Trivial fixes for numeric arg to head/tail.,
Xen patchbot -unstable <=
|
|
|
|
|