diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-02 23:22:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-02 23:22:41 (GMT) |
commit | d3a5867c0b580d8791d9762e4464c7cbb56220f7 (patch) | |
tree | f301ada5aa4403af2d934f3833157744c8dd27e2 /Misc/build.sh | |
parent | d19a4d47c611f416938e233e0a6c42833715e068 (diff) | |
download | cpython-d3a5867c0b580d8791d9762e4464c7cbb56220f7.zip cpython-d3a5867c0b580d8791d9762e4464c7cbb56220f7.tar.gz cpython-d3a5867c0b580d8791d9762e4464c7cbb56220f7.tar.bz2 |
get the proper full pathname of the script. spell build properly
Diffstat (limited to 'Misc/build.sh')
-rwxr-xr-x | Misc/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Misc/build.sh b/Misc/build.sh index 6e09186..ab55c60 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 |