summaryrefslogtreecommitdiff
path: root/crypto/md2
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-11-02 23:55:01 +0000
committerRichard Levitte <levitte@openssl.org>2004-11-02 23:55:01 +0000
commita2ac429da2f90616d1465dac704eb1e91d2be722 (patch)
tree10395696075d879ebe49fdf1c89b574ca4111351 /crypto/md2
parentffd0f93f14e513b86747e9b1bd50e81e5d275834 (diff)
downloadopenssl-new-a2ac429da2f90616d1465dac704eb1e91d2be722.tar.gz
Don't use $(EXHEADER) directly in for loops, as most shells will break
if $(EXHEADER) is empty. Notified by many, solution suggested by Carson Gaspar <carson@taltos.org>
Diffstat (limited to 'crypto/md2')
-rw-r--r--crypto/md2/Makefile.ssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md2/Makefile.ssl b/crypto/md2/Makefile.ssl
index 367dc1275c..213ed2932c 100644
--- a/crypto/md2/Makefile.ssl
+++ b/crypto/md2/Makefile.ssl
@@ -53,7 +53,7 @@ links:
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
install:
- @for i in $(EXHEADER) ; \
+ @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \