X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=src%2Fgdb-io;h=6e28371f0b2f01a76602cc5a4b24d9eb2dc4f54a;hp=10152a5890dbddf000e8929686af4aad9493ce19;hb=f15d3d19ea40312737e009b52e7359f57c123f8f;hpb=4eb52d4ab4dbc417d7f839cd6544710be6d8ad0c diff --git a/src/gdb-io b/src/gdb-io index 10152a5..6e28371 100755 --- 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