From a2617f727d8eb145551b4e42c56198f290ff126c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 2 Nov 2004 23:53:31 +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 --- Makefile.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.org') diff --git a/Makefile.org b/Makefile.org index 7a30acac3c..439f033094 100644 --- a/Makefile.org +++ b/Makefile.org @@ -176,7 +176,7 @@ LIBKRB5= SHLIB_MARK= DIRS= crypto fips ssl $(SHLIB_MARK) sigs apps test tools -SHLIBDIRS= fips crypto ssl +SHLIBDIRS= crypto ssl # dirs in crypto to build SDIRS= objects \ @@ -800,7 +800,7 @@ install_sw: $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ $(INSTALL_PREFIX)$(OPENSSLDIR)/certs \ $(INSTALL_PREFIX)$(OPENSSLDIR)/private - @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