From 3a56b775da86942ddc7f0e042407710234949c78 Mon Sep 17 00:00:00 2001 From: "doko@ubuntu.com" Date: Wed, 23 Mar 2016 12:57:29 +0100 Subject: [PATCH] Makefile.pre.in (profile-opt): Fix bashism. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 9b4ab8def1e..fc2d7095c84 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;\