summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile.ssl
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/Makefile.ssl
parentffd0f93f14e513b86747e9b1bd50e81e5d275834 (diff)
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/Makefile.ssl')
-rw-r--r--crypto/Makefile.ssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index e61a82a8fd..c03bbc4562 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -132,7 +132,7 @@ tests:
done;
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 ); \