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)
commit3edf9c354421445cfe5a8a5cf99d1bfcf57bee94
tree22521e332a9a11a3f619cf9c621d1fbb3c73b090
parentd071d17c467ec0b20566683b8472ac8a42bc72b1
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