From e519a849418fd8aecc98136369af325f24d4dad9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 9 Oct 2012 13:24:52 +0900 Subject: [PATCH] test-rebuild.sh: run fedpkg verrel in the right dir --- test-rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-rebuild.sh b/test-rebuild.sh index 37f2e3f..c308fee 100755 --- a/test-rebuild.sh +++ b/test-rebuild.sh @@ -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