From 4d3670fa5053a499ee2ea95c9b7a6ad94172c88d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 23 Feb 2012 13:49:35 +0000 Subject: [PATCH] PR: 2727 Submitted by: Bruce Stephens Use same construct for EXHEADER in srp/Makefile as other makefiles to cope with possibly empty EXHEADER. --- crypto/srp/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/srp/Makefile b/crypto/srp/Makefile index d37d46c260..81b4197758 100644 --- a/crypto/srp/Makefile +++ b/crypto/srp/Makefile @@ -42,7 +42,8 @@ links: @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) install: - @for i in $(EXHEADER) ; \ + @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... + @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ do \ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \