Use $(SHELL) rather than /bin/sh.
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 22 Jan 2017 21:55:30 +0000 (00:55 +0300)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 3 May 2017 10:46:38 +0000 (12:46 +0200)
/bin/sh doesn't exist under termux.

grub-core/Makefile.am

index 04e9395..809a8aa 100644 (file)
@@ -278,7 +278,7 @@ BUILT_SOURCES += symlist.h
 
 symlist.c: symlist.h gensymlist.sh
        $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) -DGRUB_SYMBOL_GENERATOR=1 symlist.h > symlist.p || (rm -f symlist.p; exit 1)
-       cat symlist.p | /bin/sh $(srcdir)/gensymlist.sh $(top_builddir)/config.h $(KERNEL_HEADER_FILES) >$@ || (rm -f $@; exit 1)
+       cat symlist.p | $(SHELL) $(srcdir)/gensymlist.sh $(top_builddir)/config.h $(KERNEL_HEADER_FILES) >$@ || (rm -f $@; exit 1)
        rm -f symlist.p
 CLEANFILES += symlist.c
 BUILT_SOURCES += symlist.c