]> granicus.if.org Git - python/commitdiff
Makefile.pre.in (profile-opt): Fix bashism.
authordoko@ubuntu.com <doko@ubuntu.com>
Wed, 23 Mar 2016 11:57:29 +0000 (12:57 +0100)
committerdoko@ubuntu.com <doko@ubuntu.com>
Wed, 23 Mar 2016 11:57:29 +0000 (12:57 +0100)
Makefile.pre.in

index 9b4ab8def1ebdefaeef1e0cc1db9fd340caf2a4c..fc2d7095c84ab9cc51fec1b2f15178a582a2e487 100644 (file)
@@ -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;\