diff options
author | Alastair Tse <atse@xensource.com> | 2007-01-12 14:53:13 +0000 |
---|---|---|
committer | Alastair Tse <atse@xensource.com> | 2007-01-12 14:53:13 +0000 |
commit | eb8b807d29e015dc65b5169ad37ee9df771b6a41 (patch) | |
tree | 433756f2e50b6a4e356b3d0f6f6dc2e255675ef9 /xen/include/Makefile | |
parent | effd10be68d89702eb60070f8e1bb9b0eded0c07 (diff) | |
download | xen-eb8b807d29e015dc65b5169ad37ee9df771b6a41.tar.gz xen-eb8b807d29e015dc65b5169ad37ee9df771b6a41.tar.bz2 xen-eb8b807d29e015dc65b5169ad37ee9df771b6a41.zip |
Make get-fields.sh really get run by bash rather than default /bin/sh.
Also fix some bashisms in the script.
Signed-off-by: Alastair Tse <atse@xensource.com>
Diffstat (limited to 'xen/include/Makefile')
-rw-r--r-- | xen/include/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile index 15b347ca11..1f762d1024 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -65,7 +65,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 \ - $(SHELL) $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \ + /bin/bash $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \ done >$@.new mv -f $@.new $@ |