git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
+AUTHORS
[nethome.git]
/
src
/
gdb-wrap
diff --git
a/src/gdb-wrap
b/src/gdb-wrap
index
71a5a0f
..
bc3d80d
100755
(executable)
--- a/
src/gdb-wrap
+++ b/
src/gdb-wrap
@@
-1,11
+1,15
@@
#! /bin/sh
# $Id$
-DIR=/tmp/gdb.d
+TMP=/tmp
+if [ -d $TMP/server ];then
+ TMP=$TMP/server
+fi
+DIR=$TMP/gdb.d
mkdir -p $DIR
i=0
while true;do
- FILE=DIR/`printf %02d $i`
+ FILE=
$
DIR/`printf %02d $i`
if ! test -f $FILE;then
break
fi