[Python-checkins] cpython (3.5): Makefile.pre.in (profile-opt): Fix bashism.

matthias.klose python-checkins at python.org
Wed Mar 23 07:58:07 EDT 2016


https://hg.python.org/cpython/rev/3f5e0d8e19a0
changeset:   100687:3f5e0d8e19a0
branch:      3.5
parent:      100666:2b4731e22df8
user:        doko at ubuntu.com
date:        Wed Mar 23 12:57:29 2016 +0100
summary:
  Makefile.pre.in (profile-opt): Fix bashism.

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -483,7 +483,7 @@
 
 # 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;\

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list