summaryrefslogtreecommitdiffstats
path: root/Makefile.org
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 /Makefile.org
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 'Makefile.org')
-rw-r--r--Makefile.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org
index e20be740b6..65ee439bff 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -529,7 +529,7 @@ install_sw:
$(INSTALL_PREFIX)$(OPENSSLDIR)/misc \
$(INSTALL_PREFIX)$(OPENSSLDIR)/certs \
$(INSTALL_PREFIX)$(OPENSSLDIR)/private
- @set -e; for i in $(EXHEADER) ;\
+ @set -e; headerlist="$(EXHEADER)"; for i in $$headerlist;\
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \