test-rebuild.sh: allow running in cwd without arg

epel9
Jens Petersen 12 years ago
parent b968d18349
commit fdb0081a16

@ -2,7 +2,7 @@
set -e
PKG=$1
PKG=${1:-$(fedpkg gimmespec | sed -e "s/.spec//")}
[ -d "$PKG" -o -f "$PKG.spec" ] || fedpkg clone -a $PKG

Loading…
Cancel
Save