From d3a5867c0b580d8791d9762e4464c7cbb56220f7 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 2 Jan 2006 23:22:41 +0000 Subject: get the proper full pathname of the script. spell build properly --- Misc/build.sh | 6 +++--- 1 file 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 -- cgit v0.12