summaryrefslogtreecommitdiffstats
path: root/crypto/mdc2
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-11-03 00:55:01 +0100
committerRichard Levitte <levitte@openssl.org>2004-11-03 00:55:01 +0100
commita2ac429da2f90616d1465dac704eb1e91d2be722 (patch)
tree10395696075d879ebe49fdf1c89b574ca4111351 /crypto/mdc2
parentBecause -rpath/-R may have been used, our settings of LD_LIBRARY_PATH (diff)
downloadopenssl-a2ac429da2f90616d1465dac704eb1e91d2be722.tar.xz
openssl-a2ac429da2f90616d1465dac704eb1e91d2be722.zip
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/mdc2')
-rw-r--r--crypto/mdc2/Makefile.ssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/mdc2/Makefile.ssl b/crypto/mdc2/Makefile.ssl
index 2476d75e12..8ce78cac5c 100644
--- a/crypto/mdc2/Makefile.ssl
+++ b/crypto/mdc2/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 ); \