summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/lit/utils/check-coverage4
-rwxr-xr-xutils/lit/utils/check-sdist2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/lit/utils/check-coverage b/utils/lit/utils/check-coverage
index bb3d17e757..128e827f22 100755
--- a/utils/lit/utils/check-coverage
+++ b/utils/lit/utils/check-coverage
@@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; then
fi
# Parse command line arguments.
-if [ "$1" == "--generate-html" ]; then
+if [ "$1" = "--generate-html" ]; then
GENERATE_HTML=1
shift
fi
# If invoked with no arguments, run all the tests.
-if [ $# == "0" ]; then
+if [ $# = "0" ]; then
set -- "tests"
fi
diff --git a/utils/lit/utils/check-sdist b/utils/lit/utils/check-sdist
index 743a971fbe..f03266a168 100755
--- a/utils/lit/utils/check-sdist
+++ b/utils/lit/utils/check-sdist
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ $# == 1 ]; then
+if [ $# = 1 ]; then
cd $1
fi