diff --git a/interpreter/cling/tools/packaging/cpt.py b/interpreter/cling/tools/packaging/cpt.py index e5226b1e08dc6..50cfabdefbd2b 100755 --- a/interpreter/cling/tools/packaging/cpt.py +++ b/interpreter/cling/tools/packaging/cpt.py @@ -2004,7 +2004,7 @@ def custom_input(prompt, always_yes=False): if args['with_llvm_binary'] and args['with_llvm_url']: raise Exception("Cannot specify flags --with-llvm-binary and --with-llvm-url together") -elif args['with_llvm_binary'] is False and args['with_llvm_url']: +elif args['with_binary_llvm'] is False and args['with_llvm_url']: LLVM_GIT_URL = args['with_llvm_url'] else: LLVM_GIT_URL = "http://root.cern.ch/git/llvm.git" @@ -2303,7 +2303,7 @@ def custom_input(prompt, always_yes=False): args["with_llvm_binary"] = True - if args["with_llvm_binary"]: + if args["with_binary_llvm"]: download_llvm_binary() compile = compile_for_binary install_prefix = install_prefix_for_binary