aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-user-mode-linux
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-03-27 23:01:37 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-03-27 23:01:37 +0900
commitbd094de859887e9daad09a5e044fbd5042d399bc (patch)
tree4befd3d48bf192f03651ee40c9ecb7800bfe64c9 /pdebuild-user-mode-linux
parentb8b58fea9dc6c6e9346c25fd052ae41e9d259e38 (diff)
downloadpbuilder-bd094de859887e9daad09a5e044fbd5042d399bc.tar
pbuilder-bd094de859887e9daad09a5e044fbd5042d399bc.tar.gz
error message goes to &2
Diffstat (limited to 'pdebuild-user-mode-linux')
-rw-r--r--pdebuild-user-mode-linux4
1 files changed, 2 insertions, 2 deletions
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}"