Commit 60218d77 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmpub: fix publication when sources is not exists

parent 9e6ef3cc
......@@ -60,7 +60,8 @@ fi
[ -n "$ETERDESTSRPM" ] || ETERDESTSRPM="$1"
# add sources if not yet
if echo $ETERDESTSRPM | grep -q -v /sources && [ -d $ETERDESTSRPM/sources ] ; then
# && [ -d $ETERDESTSRPM/sources ]
if [ -n "$ETERDESTSRPM" ] && echo $ETERDESTSRPM | grep -q -v /sources ; then
ETERDESTSRPM=$ETERDESTSRPM/sources
fi
......
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