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>
This commit is contained in:
Richard Levitte
2004-11-02 23:55:01 +00:00
parent ffd0f93f14
commit a2ac429da2
48 changed files with 48 additions and 48 deletions

View File

@@ -61,7 +61,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 ); \