test-rebuild.sh: run fedpkg verrel in the right dir

This commit is contained in:
Jens Petersen 2012-10-09 13:24:52 +09:00
parent a13d4b8b20
commit e519a84941
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@ sudo yum-builddep $PKG.spec
fedpkg local
VERREL=$(fedpkg verrel | sed -e "s/^$PKG-//")
TMP=test-tmp
mkdir -p $TMP/
cd $ARCH
VERREL=$(fedpkg verrel | sed -e "s/^$PKG-//")
PKGS=$(rpm -qp *-$VERREL)
for i in $PKGS; do