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

git-svn-id: svn://10.0.0.236/trunk@132423 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cltbld%netscape.com 2002-10-24 01:03:47 +00:00
parent 36a419cd5a
commit f0abb92ad3

View File

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