test-rebuild: 2nd arg for fedora branch

This commit is contained in:
Jens Petersen 2012-10-05 19:07:51 +09:00
parent eb601b5e70
commit ca5159471f

View File

@ -6,6 +6,10 @@ PKG=$1
[ -d "$PKG" ] && cd $PKG
if [ -n "$2" ]; then
fedpkg switch-branch $2
fi
sudo yum builddep $PKG.spec
fedpkg local