WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] [TRIVIAL] Change tail -1 to tail -n1 in build

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [TRIVIAL] Change tail -1 to tail -n1 in build
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: 2005年7月15日 14:00:45 -0500
Delivery-date: 2005年7月15日 18:59:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
The build of Xen currently reports (with coreutils 5.2.1):
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Attached patch changes Makefile to use -n instead of deprecated syntax.
Regards,
Anthony Liguori
diff -r a83ac0806d6b xen/Makefile
--- a/xen/Makefile Fri Jul 15 13:39:50 2005
+++ b/xen/Makefile Fri Jul 15 13:58:39 2005
@@ -96,7 +96,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 -1)/g' \
+ -e 's/@@compiler@@/$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n1)/g' \
 -e 's/@@version@@/$(XEN_VERSION)/g' \
 -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
 -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [TRIVIAL] Change tail -1 to tail -n1 in build, Anthony Liguori <=
Previous by Date: Re: [Xen-devel] possible grant table issue , Christopher Clark
Next by Date: Re: [Xen-devel] possible grant table issue , Keir Fraser
Previous by Thread: [Xen-devel] Xend docs , Gorka guardiola
Next by Thread: [Xen-devel] [PATCH] Grant table fix , Stefan Berger
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /