Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ea787a0 authored by Jingwen Chen's avatar Jingwen Chen
Browse files

Remove 'eval' from b to fix quoted arguments.

eval doesn't seem to be necessary and using it breaks quoted args to query.

    $ b cquery 'kind(test, //build/bazel/...)'
    -bash: eval: line 99: syntax error near unexpected token `('
    -bash: eval: line 99: ')`bazel cquery kind(test, //build/bazel/...)
    ---config=bp2build ''

Test: source and rerun b cquery with quoted args
Change-Id: I2b8c4387ab729b5f927fe5a629d3a4cd58bcf901
parent a2159cd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,7 @@ function b()
        if [[ $config_set -ne 1 ]]; then
            bazel_args_with_config+="--config=bp2build "
        fi
        eval "bazel $bazel_args_with_config"
        bazel $bazel_args_with_config
    fi
)