* observer.sh: Use different temporary file name depending on mode

of operation to avoid clash during parallel build.
This commit is contained in:
Andreas Schwab
2005-07-07 13:11:16 +00:00
parent 3b1fcf963b
commit 99efcb59ee
2 changed files with 10 additions and 1 deletions

View File

@@ -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}