aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMårten Kongstad <amhk@google.com>2024-01-12 10:31:36 +0100
committerMårten Kongstad <amhk@google.com>2024-01-12 10:31:36 +0100
commit2bdbb880af12c9df5f18862ba4ffbebbd0cb2115 (patch)
tree8caf14bdd2828bc3557b30c2ab845618d56c4d1f
parent8ddca012980933ad96f74ccc8fe9226f3bfee5ac (diff)
downloadbazel-2bdbb880af12c9df5f18862ba4ffbebbd0cb2115.tar.gz
printflags: quote aconfig arguments
Add missing quotes around the arguments passed to aconfig. Without these, a --format filter containing spaces will not work. Bug: N/A Test: printflags --format='{fully_qualified_name}: {state}' Change-Id: I83f23c0dbe72234e8a22a1dc39d04135160dbff8
-rwxr-xr-xbin/printflags2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/printflags b/bin/printflags
index 283bd095..feea76ab 100755
--- a/bin/printflags
+++ b/bin/printflags
@@ -22,4 +22,4 @@ if [[ ! -f "$aconfig" || ! -f "$flags_file" ]]; then
echo "Missing dependencies: please run 'm all_aconfig_declarations' and try again."
exit 1
fi
-$aconfig dump-cache --cache $flags_file $@
+$aconfig dump-cache --cache "$flags_file" "$@"