summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2015-02-01 14:55:43 +0000
committerSylvestre Ledru <sylvestre@debian.org>2015-02-01 14:55:43 +0000
commit1b3961c0195acc5bca165743a101b2f4e5717edb (patch)
tree215121cc97638fcff705447fc3bc3a96c1fb1b38 /llvm/utils/lit
parent21fc195c130426ed1cdbebfb791c8ce0ee4eec68 (diff)
downloadbcm5719-llvm-1b3961c0195acc5bca165743a101b2f4e5717edb.tar.gz
bcm5719-llvm-1b3961c0195acc5bca165743a101b2f4e5717edb.zip
Fix some bashims. More information on https://wiki.ubuntu.com/DashAsBinSh. Reported initially on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772302 & https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772301
llvm-svn: 227744
Diffstat (limited to 'llvm/utils/lit')
-rwxr-xr-xllvm/utils/lit/utils/check-coverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/utils/check-coverage b/llvm/utils/lit/utils/check-coverage
index 128e827f22d..cded7a2921c 100755
--- a/llvm/utils/lit/utils/check-coverage
+++ b/llvm/utils/lit/utils/check-coverage
@@ -23,7 +23,7 @@ fi
# sitecustomize.
if ! python -c \
'import sitecustomize, sys; sys.exit("coverage" not in dir(sitecustomize))' \
- &> /dev/null; then
+ >/dev/null 2>&1; then
printf 1>&2 "error: active python does not appear to enable coverage in its 'sitecustomize.py'\n"
exit 1
fi
OpenPOWER on IntegriCloud