diff options
author | Justin Davis <jrcd83@gmail.com> | 2011-10-08 18:14:28 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2011-10-08 18:14:28 +0200 |
commit | a025c50766562ac95a3c469c17b544ddfb081b08 (patch) | |
tree | 794bdc7150fc8cbe5cec5b01f2fc35558a28c478 | |
parent | 6c7a8c3558eaf02f6cc7316bafdba34763c5de8e (diff) | |
download | genpkg-a025c50766562ac95a3c469c17b544ddfb081b08.tar.gz genpkg-a025c50766562ac95a3c469c17b544ddfb081b08.tar.xz |
Write error messages to stderr in makepkgmeta.
-rwxr-xr-x | bin/makepkgmeta | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/makepkgmeta b/bin/makepkgmeta index 152df74..476d576 100755 --- a/bin/makepkgmeta +++ b/bin/makepkgmeta @@ -69,8 +69,10 @@ do 0) basicmeta $1 exit 0 ;; 1) ;; # loop - 2) echo "error: $flav encountered an error"; exit 2 ;; - *) echo "error: $flav returned error code $metaret"; exit 2 ;; + 2) echo "error: $flav encountered an error" 1>&2 + exit 2 ;; + *) echo "error: $flav returned error code $metaret" 1>&2 + exit 2 ;; esac done |