Commit 5084dc09 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix rpmbb -r (buildreq)

parent f2509475
...@@ -22,7 +22,11 @@ uni_rpmbuild() ...@@ -22,7 +22,11 @@ uni_rpmbuild()
fi fi
# TODO: add support for git # TODO: add support for git
if [ "$COMMAND" = "buildreq" ] ; then if [ "$COMMAND" = "buildreq" ] ; then
$NICE $COMMAND $@ if is_git $SPECDIR ; then
$NICE gear-buildreq --commit -- $@
else
$NICE $COMMAND $@
fi
return return
fi fi
if is_git $SPECDIR ; then if is_git $SPECDIR ; then
......
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