Commit b3007b4c authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmcs: cleanup code

parent 378a9382
......@@ -102,7 +102,6 @@ function release_check()
# create tag according to package release
check_gear_and_tag()
{
local SPECDIR=$1
local GEARCTAG=gear-create-tag
# set SPECDIR from LISTNAMES if empty
......@@ -201,9 +200,7 @@ if [ -n "$SIGN" ]; then
release_check $LISTBUILT
if [ -r "$LISTBUILT" ] ; then
echo if one spec, check gear
[ -n "$SPECDIR" ] || SPECDIR=`dirname $LISTNAMES`
check_gear_and_tag $SPECDIR
check_gear_and_tag
fi
echog "Will try to sign follow packages with GPG: \$LISTBUILT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment