Move temp files to cwd instead of /tmp, now in the form codesighs/PID. Added tinderbox-only output clauses so I can scan the logs for data. r=garrett

This commit is contained in:
cltbld%netscape.com 2002-10-24 01:03:47 +00:00
Родитель a38eb32e8a
Коммит 6a188d5598
1 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -106,7 +106,7 @@ SUMMARYFILE="$3"
#
# Create our temporary directory.
#
TMPDIR="/tmp/codesighs.$PPID"
TMPDIR="codesighs/$PPID"
mkdir -p $TMPDIR
@ -174,12 +174,20 @@ fi
# files parsed.
# Second number, if present, is growth/shrinkage.
#
if [ $TINDERBOX_OUTPUT ]; then
echo -n "TinderboxPrint:Z:"
fi
./mozilla/dist/bin/codesighs --totalonly --input $COPYSORTTSV
if [ -e $DIFFFILE ]; then
if [ $TINDERBOX_OUTPUT ]; then
echo -n "TinderboxPrint:Zdiff:"
fi
./mozilla/dist/bin/maptsvdifftool --summary --input $DIFFFILE
fi
#
# Remove our temporary directory.
#
rm -rf $TMPDIR
\rm -rf $TMPDIR