Support also the koji-checked-out `build-\d+' directory structure.

This commit is contained in:
Jan Kratochvil 2007-05-25 14:33:07 +00:00
parent acb618c727
commit f0d366b68d

View File

@ -27,6 +27,9 @@ do
if test -z "$ver" ; then
ver=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\1,p'`
fi
if test -z "$ver" ; then
ver=`echo "$f" | sed -n -e 's,^.*/build-\([0-9]*\)/.*$,-\1,p'`
fi
if test -z "$isa" ; then
isa=`echo "$f" | sed -n -e 's,^.*/scratch/.*/task_\([0-9]*\)/logs/\([^/]*\)/.*$,-\2,p'`
fi