Shut whiny make's up.
[openssl.git] / apps / Makefile.ssl
index 5f7ec2e500287976692fbb36712f9672161e0b5d..8fd61bfe54be55cd485a988a017384a3da07f4a8 100644 (file)
@@ -171,7 +171,7 @@ $(EXE): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
                LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
                LIBRPATH=$(INSTALLTOP)/lib \
                link_app.$${shlib_target}
-       @for i in `ls ../*.dll 2>/dev/null`; do cp -p $$i .; done; exit 0
+       @case "../*.dll" in *\**) ;; *) cp -p ../*.dll .;; esac
        -(cd ..; \
          OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
          $(PERL) tools/c_rehash certs)