ia64/xen-unstable

changeset 16196:9d1d27fddc50

Use $(SHELL) to find shell to run get-fields.sh script.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Tue Oct 23 13:47:01 2007 +0100 (2007-10-23)
parents 4970cbf9b19e
children b3fa9b58a102
files xen/include/Makefile xen/tools/get-fields.sh
line diff
     1.1 --- a/xen/include/Makefile	Tue Oct 23 09:41:06 2007 +0100
     1.2 +++ b/xen/include/Makefile	Tue Oct 23 13:47:01 2007 +0100
     1.3 @@ -61,7 +61,7 @@ compat/%.c: public/%.h xlat.lst Makefile
     1.4  compat/xlat.h: xlat.lst $(filter-out compat/xlat.h,$(headers-y)) $(BASEDIR)/tools/get-fields.sh Makefile
     1.5  	grep -v '^[	 ]*#' xlat.lst | \
     1.6  	while read what name hdr; do \
     1.7 -		/bin/sh $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
     1.8 +		$(SHELL) $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
     1.9  	done >$@.new
    1.10  	mv -f $@.new $@
    1.11  
     2.1 --- a/xen/tools/get-fields.sh	Tue Oct 23 09:41:06 2007 +0100
     2.2 +++ b/xen/tools/get-fields.sh	Tue Oct 23 13:47:01 2007 +0100
     2.3 @@ -1,4 +1,3 @@
     2.4 -#!/bin/sh
     2.5  test -n "$1" -a -n "$2" -a -n "$3"
     2.6  set -ef
     2.7