From f0d366b68d2316048f3a3ab86fa7077d028dc117 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 25 May 2007 14:33:07 +0000 Subject: [PATCH] Support also the koji-checked-out `build-\d+' directory structure. --- gdb2fail.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb2fail.sh b/gdb2fail.sh index 893c6b9..939c1e7 100755 --- a/gdb2fail.sh +++ b/gdb2fail.sh @@ -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