From a2ac429da2f90616d1465dac704eb1e91d2be722 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 2 Nov 2004 23:55:01 +0000 Subject: 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 --- crypto/rsa/Makefile.ssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/rsa') diff --git a/crypto/rsa/Makefile.ssl b/crypto/rsa/Makefile.ssl index a55617c786..3619331644 100644 --- a/crypto/rsa/Makefile.ssl +++ b/crypto/rsa/Makefile.ssl @@ -57,7 +57,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 ); \ -- cgit v1.2.3