aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xen/include/Makefile2
-rw-r--r--xen/tools/get-fields.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile
index 2d0d810469..64c87f6722 100644
--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -61,7 +61,7 @@ compat/%.c: public/%.h xlat.lst Makefile
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 --git a/xen/tools/get-fields.sh b/xen/tools/get-fields.sh
index 098abab389..cf81061e4b 100644
--- a/xen/tools/get-fields.sh
+++ b/xen/tools/get-fields.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
test -n "$1" -a -n "$2" -a -n "$3"
set -ef