From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH] [TRIVIAL] Change tail -1 to tail -n1 in build Date: Fri, 15 Jul 2005 14:00:45 -0500 Message-ID: <42D807DD.7020907@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090606000202070709000607" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090606000202070709000607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090606000202070709000607 Content-Type: text/x-patch; name="tail.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="tail.diff" 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' \ --------------090606000202070709000607 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090606000202070709000607--