From: doko@ubuntu.com Date: Wed, 23 Mar 2016 11:57:29 +0000 (+0100) Subject: Makefile.pre.in (profile-opt): Fix bashism. X-Git-Tag: v3.6.0a1~377^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a56b775da86942ddc7f0e042407710234949c78;p=thirdparty%2FPython%2Fcpython.git Makefile.pre.in (profile-opt): Fix bashism. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 9b4ab8def1eb..fc2d7095c84a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -483,7 +483,7 @@ build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks Programs/_testembed # Compile a binary with profile guided optimization. profile-opt: - @if [ $(LLVM_PROF_ERR) == yes ]; then \ + @if [ $(LLVM_PROF_ERR) = yes ]; then \ echo "Error: Cannot perform PGO build because llvm-profdata was not found in PATH" ;\ echo "Please add it to PATH and run ./configure again" ;\ exit 1;\