Commit 93852f96 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: check *.watch file in the root dir too

parent 6f5d4005
......@@ -432,8 +432,8 @@ if [ -z "$GSSETVERSION" ] && $EPMCMD assure gear-rules-verify perl-Gear-Rules ;
# TODO: rpm-uscan 0.20.2.17.11 or above
$EPMCMD assure rpm-uscan
$EPMCMD assure gear-uupdate
if ls $(get_root_git_dir)/.gear | grep \.watch$ ; then
docmd rpm-uscan --force-action gear-uupdate
if ls $(get_root_git_dir)/.gear | grep \.watch$ || ls $(get_root_git_dir) | grep \.watch$ ; then
docmd rpm-uscan -v --force-action gear-uupdate
exit 0
else
warning "there are no .watch files in (get_root_git_dir)/.gear, skip rpm-uscan"
......
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