diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2015-10-16 15:31:27 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2015-10-16 15:35:06 +0200 |
commit | 3e98a949164c276db724b23ca077b5f5f7cec425 (patch) | |
tree | 66a118cf73d6d29a64879e3660e85904dbfbc73f | |
parent | fef64623a2f4bffd91374cd7626a7bd24a9ddfd8 (diff) |
Do not prompt for comparison tool if not in interactive mode.
Change-Id: I89dbea3116a518b4e60dd5266a7db3887adcb327
-rwxr-xr-x | backflip | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -157,9 +157,11 @@ port=29418 project=toolchain/gcc EOF fi -if ! which $CMPTOOL > /dev/null ; then - print_info "Default comparison tool is missing" - ask "Enter tool name: " CMPTOOL +if $INTERACTIVE; then + if ! which $CMPTOOL > /dev/null ; then + print_info "Default comparison tool is missing" + ask "Enter tool name: " CMPTOOL + fi fi mkdir $TMPDIR |