test-rebuild.sh: allow running in cwd without arg
This commit is contained in:
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…
Reference in New Issue
Block a user