# HG changeset patch # User John W. Eaton # Date 1390498701 18000 # Node ID f827586fef9c3f0fcf88cb8afe2ee470e7a54877 # Parent 7ded8c8ed5f20202bfec41c793ec1e6a229548f3 * binary-dist-rules.mk: don't use $(shell ...) in shell for loop diff -r 7ded8c8ed5f2 -r f827586fef9c binary-dist-rules.mk --- a/binary-dist-rules.mk Wed Jan 22 12:31:31 2014 -0500 +++ b/binary-dist-rules.mk Thu Jan 23 12:38:21 2014 -0500 @@ -85,14 +85,14 @@ ifeq ($(MXE_WINDOWS_BUILD),yes) define strip-dist-files echo "stripping files..." - for f in $(shell find $(OCTAVE_DIST_DIR) -name '*.dll' -o -name '*.exe'); do \ + for f in `find $(OCTAVE_DIST_DIR) -name '*.dll' -o -name '*.exe'`; do \ $(MXE_STRIP) $$f; \ done endef else define strip-dist-files echo "stripping files..." - for f in $(shell find $(OCTAVE_DIST_DIR) -type f -a -perm /a+x); do \ + for f in `find $(OCTAVE_DIST_DIR) -type f -a -perm /a+x`; do \ case "`file $$f`" in \ *script*) \ ;; \