git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9edd3da
)
Support extracting /log to /out.
author
jkratoch
<>
Mon, 8 Jun 2009 23:33:28 +0000
(23:33 +0000)
committer
jkratoch
<>
Mon, 8 Jun 2009 23:33:28 +0000
(23:33 +0000)
bin/gdbunpack
patch
|
blob
|
history
diff --git
a/bin/gdbunpack
b/bin/gdbunpack
index
fa94885
..
ea60ac2
100755
(executable)
--- a/
bin/gdbunpack
+++ b/
bin/gdbunpack
@@
-18,6
+18,12
@@
if [ -z "$args" ];then
fi
for log in $args;do
base="${log%.log}"
+ if [ "$base" = "$log" ];then
+ base="${log%/log}"
+ if [ "$base" != "$log" ];then
+ base="$base/out"
+ fi
+ fi
if [ "$base" = "$log" -o "$log" != "${log%/gdb.log}" -o "$log" = "gdb.log" ];then
echo >&2 "file has no .log suffix or is gdb.log: $log"
continue