diff options
author | Andreas Schwab <schwab@suse.de> | 2005-07-07 13:11:16 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2005-07-07 13:11:16 +0000 |
commit | b395b18cbf4d5ebae1f74a5f41f3f22ec82567ba (patch) | |
tree | eb96658c6335bcef684db71c2279e7106dbfcdbe /gdb/observer.sh | |
parent | 48f2420529a228b794db7127806d640d94db1a33 (diff) | |
download | gdb-b395b18cbf4d5ebae1f74a5f41f3f22ec82567ba.tar.gz |
* observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.
Diffstat (limited to 'gdb/observer.sh')
-rwxr-xr-x | gdb/observer.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/observer.sh b/gdb/observer.sh index 4c235ea183e..af699651d94 100755 --- a/gdb/observer.sh +++ b/gdb/observer.sh @@ -9,7 +9,11 @@ fi lang=$1 ; shift texi=$1 ; shift o=$1 -otmp="`echo $1 | sed -e 's,\.[^.]*$,,'`.tmp"; shift +case $lang in + h) tmp=htmp ;; + inc) tmp=itmp ;; +esac +otmp="`echo $1 | sed -e 's,\.[^.]*$,,'`.$tmp"; shift echo "Creating ${otmp}" 1>&2 rm -f ${otmp} |