Use $(SHELL) to find shell to run get-fields.sh script.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
Keir Fraser committed 2007-10-23 13:47:01 +01:00
1 parent f767bbd028
commit eab576f8d6
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -1,4 +1,3 @@
#!/bin/sh
test -n "$1" -a -n "$2" -a -n "$3"
set -ef
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.