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
(from parent 1:
c6e200e
)
Fix .in search.
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 6 Nov 2011 15:35:04 +0000
(16:35 +0100)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Sun, 6 Nov 2011 15:35:04 +0000
(16:35 +0100)
Make --version an exception.
src/gdb-io
patch
|
blob
|
history
diff --git
a/src/gdb-io
b/src/gdb-io
index
10152a5
..
6e28371
100755
(executable)
--- a/
src/gdb-io
+++ b/
src/gdb-io
@@
-9,9
+9,9
@@
mkdir -p $DIR
i=0
while true;do
FILE=$DIR/`printf %02d $i`
- if ! test -f $FILE;then
+ if ! test -f $FILE
.in
;then
break
fi
i=$[$i+1]
done
-
tee $FILE.in
| "$0"-orig "$@" | tee $FILE.out
+
if [ "$*" != --version ];then tee $FILE.in;fi
| "$0"-orig "$@" | tee $FILE.out