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 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Use $(SHELL) to find shell to run get-fie

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Use $(SHELL) to find shell to run get-fields.sh script.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2007 15:03:42 -0700
Delivery-date: Wed, 31 Oct 2007 15:04:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1193143621 -3600
# Node ID 9d1d27fddc50f65ba69966e33ef5026d0183d0dc
# Parent  4970cbf9b19e751c7bc79107bd354bc1403d074f
Use $(SHELL) to find shell to run get-fields.sh script.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/include/Makefile    |    2 +-
 xen/tools/get-fields.sh |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff -r 4970cbf9b19e -r 9d1d27fddc50 xen/include/Makefile
--- a/xen/include/Makefile      Tue Oct 23 09:41:06 2007 +0100
+++ b/xen/include/Makefile      Tue Oct 23 13:47:01 2007 +0100
@@ -61,7 +61,7 @@ compat/xlat.h: xlat.lst $(filter-out com
 compat/xlat.h: xlat.lst $(filter-out compat/xlat.h,$(headers-y)) 
$(BASEDIR)/tools/get-fields.sh Makefile
        grep -v '^[      ]*#' xlat.lst | \
        while read what name hdr; do \
-               /bin/sh $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name 
$$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
+               $(SHELL) $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name 
$$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
        done >$@.new
        mv -f $@.new $@
 
diff -r 4970cbf9b19e -r 9d1d27fddc50 xen/tools/get-fields.sh
--- a/xen/tools/get-fields.sh   Tue Oct 23 09:41:06 2007 +0100
+++ b/xen/tools/get-fields.sh   Tue Oct 23 13:47:01 2007 +0100
@@ -1,4 +1,3 @@
-#!/bin/sh
 test -n "$1" -a -n "$2" -a -n "$3"
 set -ef
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Use $(SHELL) to find shell to run get-fields.sh script., Xen patchbot-unstable <=