[PATCH 1/2] Never write errors to stdout from ipkg-make-index.sh
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 23 Feb 2011 22:58:58 +0000 (22:58 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 23 Feb 2011 22:58:58 +0000 (22:58 +0000)
commitc2065a31d883d6e326357724a0d5071b72a4dd5d
tree30e129ac8f915969cd2af0f290fa20d72fd90be3
parent1ec6427faebf9c23e784e0a0ebf90f8391fcebe8
[PATCH 1/2] Never write errors to stdout from ipkg-make-index.sh

Since the output of ipkg-make-index.sh is unconditionally used to create
the Packages file, sending the errors into this file is unacceptable
(both because they are not shown to users and because they make an
invalid Packages file).

For incorrect invocation, write to stderr.
For errors from which, send to /dev/null with stdout.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
SVN-Revision: 25677
scripts/ipkg-make-index.sh