Commit c309c87a authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmpub: use rhas

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