[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Use $(SHELL) to find shell to run get-fields.sh script.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.