changeset 3446:f827586fef9c

* binary-dist-rules.mk: don't use $(shell ...) in shell for loop
author John W. Eaton <jwe@octave.org>
date Thu, 23 Jan 2014 12:38:21 -0500
parents 7ded8c8ed5f2
children 690a00576e5e
files binary-dist-rules.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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*) \
           ;; \