pkgsrc-ng/lang/clang/patches/patch-utils_lit_utils_check-coverage
2014-08-11 13:27:10 +02:00

23 lines
553 B
Plaintext

$NetBSD: patch-utils_lit_utils_check-coverage,v 1.1 2013/07/02 10:33:02 adam Exp $
Portability fix.
--- utils/lit/utils/check-coverage.orig 2013-06-05 10:33:06.000000000 +0000
+++ utils/lit/utils/check-coverage
@@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; th
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