mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Use $(SHELL) to find shell to run get-fields.sh script.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
f767bbd028
commit
eab576f8d6
2 files changed
+1
-2
No files matched your search
@@ -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 $@
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
test -n "$1" -a -n "$2" -a -n "$3"
|
||||
set -ef
|
||||
|
||||
|
||||