From: Neal Norwitz Date: Mon, 2 Jan 2006 23:22:41 +0000 (+0000) Subject: get the proper full pathname of the script. spell build properly X-Git-Tag: v2.5a0~913 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3a5867c0b580d8791d9762e4464c7cbb56220f7;p=python get the proper full pathname of the script. spell build properly --- diff --git a/Misc/build.sh b/Misc/build.sh index 6e09186123..ab55c600cc 100755 --- a/Misc/build.sh +++ b/Misc/build.sh @@ -27,7 +27,7 @@ ## FIXME: we should run code coverage ## Utilities invoked in this script include: -## date, dirname, expr, grep, readlink, uname +## basename, date, dirname, expr, grep, readlink, uname ## cksum, make, mutt, rsync, svn ## need to get svn from ~/local/bin @@ -41,7 +41,7 @@ fi ## make directory absolute DIR=`readlink -f $DIR` -FULLPATHNAME="$DIR/$0" +FULLPATHNAME="$DIR/`basename $0`" ## we want Misc/.. DIR=`dirname $DIR` @@ -163,7 +163,7 @@ if [ $err = 0 ]; then ./python -E -tt ./Lib/test/regrtest.py -uall -x test_curses test_linuxaudiodev test_ossaudiodev >& build/$F NUM_FAILURES=`grep -ic fail build/$F` update_status "Testing all except curses and sound ($NUM_FAILURES failures)" "$F" $start - mail_on_failure "all" buiild/$F + mail_on_failure "all" build/$F fi fi fi