aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2010-10-25 18:48:23 +0000
committeridl0r <idl0r@gentoo.org>2010-10-25 18:48:23 +0000
commitda552e5efad9c62aa9b01137146db87ba76310f9 (patch)
tree6880477efe7a99a4c585aa2f4e85066992e7eee2
parentebump: Cleanup. Make it a bit more POSIX conform. (diff)
downloadgentoolkit-da552e5efad9c62aa9b01137146db87ba76310f9.tar.gz
gentoolkit-da552e5efad9c62aa9b01137146db87ba76310f9.tar.bz2
gentoolkit-da552e5efad9c62aa9b01137146db87ba76310f9.zip
Use >&2 instead of /dev/stderr.
svn path=/trunk/gentoolkit-dev/; revision=823
-rwxr-xr-xsrc/ebump/ebump8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ebump/ebump b/src/ebump/ebump
index 113e4b9..37c58f7 100755
--- a/src/ebump/ebump
+++ b/src/ebump/ebump
@@ -63,7 +63,7 @@ load_options() {
# FIXME: remove this warning in 2-3 releases.
if [ -n "${opt_add_cvs}" ]; then
- echo "Warning: opt_add_cvs is deprecated, please use opt_add_vcs from now on!" >/dev/stderr
+ echo "Warning: opt_add_cvs is deprecated, please use opt_add_vcs from now on!" >&2
fi
}
@@ -213,7 +213,7 @@ process_ebuild() {
if [ -d ${dn}/${bn} ] ; then
if [ -e ${dn}/${newbn} ] ; then
- echo "Directory ${dn}/${newbn} exists, not copying" > /dev/stderr
+ echo "Directory ${dn}/${newbn} exists, not copying" >&2
else
cp -a ${dn}/${bn} ${dn}/${newbn}
# uhm, is that necessary?
@@ -371,8 +371,8 @@ done
_vcs=$(get_vcs)
if [ -z "${_vcs}" ]; then
- echo "Warning: no cvs, git or svn repository found!" >/dev/stderr
- echo "Changes can't be added to the VCS" >/dev/stderr
+ echo "Warning: no cvs, git or svn repository found!" >&2
+ echo "Changes can't be added to the VCS" >&2
opt_add_vcs=n
opt_delete_old=n
fi