From ae6cb5483ef687ff52bdf59fca0d13651a84759a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 26 May 2011 22:10:28 +0000 Subject: Use || instead of && so build doesn't fail. --- Makefile.org | 2 +- crypto/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.org b/Makefile.org index 56abf480f9..1e2e466ef5 100644 --- a/Makefile.org +++ b/Makefile.org @@ -286,7 +286,7 @@ build_testapps: @dir=crypto; target=testapps; $(BUILD_ONE_CMD) fips_premain_dso$(EXE_EXT): libcrypto.a - [ -n "$(FIPSCANLIB)" ] && $(CC) $(CFLAGS) \ + [ -z "$(FIPSCANLIB)" ] || $(CC) $(CFLAGS) \ -DFINGERPRINT_PREMAIN_DSO_LOAD -o $@ \ $(FIPSLIBDIR)fips_premain.c $(FIPSLIBDIR)fipscanister.o \ libcrypto.a $(EX_LIBS) diff --git a/crypto/Makefile b/crypto/Makefile index 3e5f7ae882..544e236005 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -102,7 +102,7 @@ lib: $(LIB) @touch lib $(LIB): $(LIBOBJ) $(AR) $(LIB) $(LIBOBJ) - [ -n "$(FIPSLIBDIR)" ] && $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o + [ -z "$(FIPSLIBDIR)" ] || $(AR) $(LIB) $(FIPSLIBDIR)fipscanister.o $(RANLIB) $(LIB) || echo Never mind. shared: buildinf.h lib subdirs -- cgit v1.2.3