diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2015-02-01 14:55:43 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2015-02-01 14:55:43 +0000 |
commit | 1b3961c0195acc5bca165743a101b2f4e5717edb (patch) | |
tree | 215121cc97638fcff705447fc3bc3a96c1fb1b38 | |
parent | 21fc195c130426ed1cdbebfb791c8ce0ee4eec68 (diff) | |
download | bcm5719-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
-rw-r--r-- | llvm/autoconf/configure.ac | 4 | ||||
-rwxr-xr-x | llvm/configure | 4 | ||||
-rwxr-xr-x | llvm/utils/lit/utils/check-coverage | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index cd458a49696..e699ee631e5 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -1535,11 +1535,11 @@ AC_ARG_WITH(oprofile, AC_SEARCH_LIBS(bfd_init, bfd, [], []) AC_SEARCH_LIBS(op_open_agent, opagent, [], [ echo "Error! You need to have libopagent around." - exit -1 + exit 1 ]) AC_CHECK_HEADER([opagent.h], [], [ echo "Error! You need to have opagent.h around." - exit -1 + exit 1 ]) fi ;; *) diff --git a/llvm/configure b/llvm/configure index e22c21e302f..2eed67ef67c 100755 --- a/llvm/configure +++ b/llvm/configure @@ -9910,7 +9910,7 @@ if test "$ac_res" != no; then else echo "Error! You need to have libopagent around." - exit -1 + exit 1 fi @@ -10073,7 +10073,7 @@ if test $ac_cv_header_opagent_h = yes; then else echo "Error! You need to have opagent.h around." - exit -1 + exit 1 fi 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 |