Skip to content

Commit

Permalink
Fixed malformed grep pattern causing build warning spam
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 706784803
Change-Id: I76e1b3d41dc092aa1775457c3bc2079cc99dfa2a
  • Loading branch information
A Googler authored and copybara-github committed Dec 16, 2024
1 parent 53cfee9 commit 78e3a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/android/d8_desugar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [[ "$#" -gt 0 ]]; then

# If --desugared_lib_config already in params file, don't add it again.
set +e
has_desugared_lib_config=$(grep -c "\-\-desugared_lib_config" "$params")
has_desugared_lib_config=$(grep -ce "--desugared_lib_config" "$params")
set -e
if [[ "$has_desugared_lib_config" == 0 ]]; then
for o in "${DESUGAR_CONFIG[@]}"; do
Expand Down

0 comments on commit 78e3a91

Please sign in to comment.