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

epel9
Jens Petersen 12 years ago
parent a13d4b8b20
commit e519a84941

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

Loading…
Cancel
Save