changeset 51323:46280260d010

pytype: use "$(hg root)" instead of `hg root` to make shellcheck happier
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 18 Dec 2023 15:52:17 -0300
parents 05ce07bdb173
children 87bfd1703597
files contrib/check-pytype.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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