Fix some bashims. More information on https://wiki.ubuntu.com/DashAsBinSh. Reported...
[oota-llvm.git] / utils / lit / utils / check-coverage
index 128e827f22dcbb0ff3cb12349f53b7e9dcc973f8..cded7a2921c55abd89ee4b03c674a1220f60f739 100755 (executable)
@@ -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