test-rebuild: 2nd arg for fedora branch
This commit is contained in:
parent
eb601b5e70
commit
ca5159471f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user