Commit 19dae00a authored by Vitaly Lipatov's avatar Vitaly Lipatov

find spec if missed

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