From bd094de859887e9daad09a5e044fbd5042d399bc Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Tue, 27 Mar 2007 23:01:37 +0900 Subject: error message goes to &2 --- pdebuild-user-mode-linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdebuild-user-mode-linux') diff --git a/pdebuild-user-mode-linux b/pdebuild-user-mode-linux index 709a0ea..02a43fe 100644 --- a/pdebuild-user-mode-linux +++ b/pdebuild-user-mode-linux @@ -23,7 +23,7 @@ while ! test -d ./debian -o "$(pwd)" = "/" ; do done if test ! -d ./debian; then - echo "E: Cannot find ./debian dir" + echo "E: Cannot find ./debian dir" >&2 exit 1 fi; export PBCURRENTCOMMANDLINEOPERATION="pdebuild" @@ -38,7 +38,7 @@ ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then if [ ! readlink -f .. ]; then - echo "E: Cannot find .. dir from PWD=$(pwd)" + echo "E: Cannot find .. dir from PWD=$(pwd)" >&2 exit 1 fi pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" -- cgit v1.2.3