diff --git a/test/python-black-check.sh b/test/python-black-check.sh index 7a6fd0ab..2861047e 100755 --- a/test/python-black-check.sh +++ b/test/python-black-check.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -z "$MESON_SOURCE_ROOT" ]; then - echo "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" + echo >&2 "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" exit 100 fi @@ -9,7 +9,7 @@ cd "$MESON_SOURCE_ROOT" || exit 101 files=$(git ls-files "*.py" "*.py.in") if [ -z "$files" ]; then - echo "Git didn't find any files" + echo >&2 "Git didn't find any files" exit 77 fi diff --git a/test/python-ruff-check.sh b/test/python-ruff-check.sh index 0d726702..fa2f7f2d 100755 --- a/test/python-ruff-check.sh +++ b/test/python-ruff-check.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -z "$MESON_SOURCE_ROOT" ]; then - echo "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" + echo >&2 "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" exit 100 fi @@ -9,7 +9,7 @@ cd "$MESON_SOURCE_ROOT" || exit 101 files=$(git ls-files "*.py" "*.py.in") if [ -z "$files" ]; then - echo "Git didn't find any files" + echo >&2 "Git didn't find any files" exit 77 fi diff --git a/tools/python-black.sh b/tools/python-black.sh index e80a9d95..748099b8 100755 --- a/tools/python-black.sh +++ b/tools/python-black.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -z "$MESON_SOURCE_ROOT" ]; then - echo "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" + echo >&2 "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" exit 100 fi @@ -9,7 +9,7 @@ cd "$MESON_SOURCE_ROOT" || exit 101 files=$(git ls-files "*.py" "*.py.in") if [ -z "$files" ]; then - echo "Git didn't find any files" + echo >&2 "Git didn't find any files" exit 77 fi diff --git a/tools/python-ruff.sh b/tools/python-ruff.sh index 43885b4b..3bd01da8 100755 --- a/tools/python-ruff.sh +++ b/tools/python-ruff.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -z "$MESON_SOURCE_ROOT" ]; then - echo "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" + echo >&2 "Expected \$MESON_SOURCE_ROOT to be set. Are you sure you are running this through ninja?" exit 100 fi @@ -9,7 +9,7 @@ cd "$MESON_SOURCE_ROOT" || exit 101 files=$(git ls-files "*.py" "*.py.in") if [ -z "$files" ]; then - echo "Git didn't find any files" + echo >&2 "Git didn't find any files" exit 77 fi