pytype: use "$(hg root)" instead of `hg root` to make shellcheck happier
authorAnton Shestakov <av6@dwimlabs.net>
Mon, 18 Dec 2023 15:52:17 -0300
changeset 51306 46280260d010
parent 51305 05ce07bdb173
child 51307 87bfd1703597
pytype: use "$(hg root)" instead of `hg root` to make shellcheck happier
contrib/check-pytype.sh
--- a/contrib/check-pytype.sh	Mon Dec 18 15:40:48 2023 -0300
+++ b/contrib/check-pytype.sh	Mon Dec 18 15:52:17 2023 -0300
@@ -3,7 +3,7 @@
 set -e
 set -u
 
-cd `hg root`
+cd "$(hg root)"
 
 # Many of the individual files that are excluded here confuse pytype
 # because they do a mix of Python 2 and Python 3 things