summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-10-08 18:14:28 +0200
committerJustin Davis <jrcd83@gmail.com>2011-10-08 18:14:28 +0200
commita025c50766562ac95a3c469c17b544ddfb081b08 (patch)
tree794bdc7150fc8cbe5cec5b01f2fc35558a28c478
parent6c7a8c3558eaf02f6cc7316bafdba34763c5de8e (diff)
downloadgenpkg-a025c50766562ac95a3c469c17b544ddfb081b08.tar.gz
genpkg-a025c50766562ac95a3c469c17b544ddfb081b08.tar.xz
Write error messages to stderr in makepkgmeta.
-rwxr-xr-xbin/makepkgmeta6
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