[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)
commit0081e14ade38823196a3cf1262292ce76cade22e
tree30e129ac8f915969cd2af0f290fa20d72fd90be3
parent6f914d0d185f494b12276c428e606da6a13663dc
[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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25677 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/ipkg-make-index.sh