]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
require -m for-arekm
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Dec 2013 12:00:43 +0000 (12:00 +0000)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Dec 2013 12:00:43 +0000 (12:00 +0000)
relup.sh

index 9a07402e5bfc5f0a574a31c602f59cd8f45de329..84937120676a83b88ab8160a5e2854a504eb413a 100755 (executable)
--- a/relup.sh
+++ b/relup.sh
@@ -128,6 +128,11 @@ while true; do
        shift
 done
 
+if [ -z "$message" ]; then
+       echo >&2 "-m is required"
+       exit 1
+fi
+
 topdir=$(rpm -E '%{_topdir}')
 
 n="$(echo -e '\nn')"
This page took 0.168043 seconds and 4 git commands to generate.