diff libinterp/corefcn/module.mk @ 21281:b76955e83fe4

maint: Run all build shell scripts with SHELL as command interpreter * Makefile.am, common.mk, doc/module.mk, libinterp/corefcn/module.mk, libinterp/module.mk, libinterp/octave-value/module.mk, libinterp/operators/module.mk, liboctave/module.mk, scripts/module.mk, test/module.mk: Use $(SHELL) variable as command interpreter for all build helper shell scripts. * config-images.sh, config-module.sh, config-ops.sh: Use ${SHELL} environment variable as command interpreter for move-if-change helper script.
author Mike Miller <mtmiller@octave.org>
date Tue, 16 Feb 2016 23:08:31 -0800
parents 076876f0a83a
children 1309edb344e1
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Wed Feb 17 02:54:00 2016 -0500
+++ b/libinterp/corefcn/module.mk	Tue Feb 16 23:08:31 2016 -0800
@@ -279,7 +279,7 @@
 	  $(libinterp_corefcn_libcorefcn_la_CPPFLAGS) $(CPPFLAGS) \
 	  $(libinterp_corefcn_libcorefcn_la_CXXFLAGS) $(CXXFLAGS) \
 	  -DMAKE_BUILTINS $< > $@-t1 && \
-	$(srcdir)/libinterp/mkdefs $(srcdir)/libinterp $< < $@-t1 > $@-t && \
+	$(SHELL) $(srcdir)/libinterp/mkdefs $(srcdir)/libinterp $< < $@-t1 > $@-t && \
 	rm -f $@-t1 && \
 	mv $@-t $@
 
@@ -304,9 +304,9 @@
 libinterp/corefcn/oct-errno.cc: libinterp/corefcn/oct-errno.in.cc Makefile
 	$(AM_V_GEN)rm -f $@-t && \
 	if test -n "$(PERL)"; then \
-	  $(srcdir)/libinterp/mk-errno-list --perl "$(PERL)" < $< > $@-t; \
+	  $(SHELL) $(srcdir)/libinterp/mk-errno-list --perl "$(PERL)" < $< > $@-t; \
 	elif test -n "$(PYTHON)"; then \
-	  $(srcdir)/libinterp/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \
+	  $(SHELL) $(srcdir)/libinterp/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \
 	else \
 	  $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \
 	fi && \