Support also the koji-checked-out `build-\d+' directory structure.
This commit is contained in:
parent
acb618c727
commit
f0d366b68d
@ -27,6 +27,9 @@ do
|
|||||||
if test -z "$ver" ; then
|
if test -z "$ver" ; then
|
||||||
ver=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\1,p'`
|
ver=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\1,p'`
|
||||||
fi
|
fi
|
||||||
|
if test -z "$ver" ; then
|
||||||
|
ver=`echo "$f" | sed -n -e 's,^.*/build-\([0-9]*\)/.*$,-\1,p'`
|
||||||
|
fi
|
||||||
if test -z "$isa" ; then
|
if test -z "$isa" ; then
|
||||||
isa=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\2,p'`
|
isa=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\2,p'`
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user