Commit 86a3dad0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmpub: use get_gear_spec

parent 36bbd05d
...@@ -33,8 +33,7 @@ if [ "$1" = "-r" ] ; then ...@@ -33,8 +33,7 @@ if [ "$1" = "-r" ] ; then
fi fi
if [ -n "${1/*.spec/}" ] ; then if [ -n "${1/*.spec/}" ] ; then
#SPECNAME=$(basename $(pwd)).spec SPECNAME=$(get_gear_spec)
SPECNAME=$(echo *.spec)
else else
SPECNAME=$1 SPECNAME=$1
shift shift
......
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