From: <sg...@us...> - 2003-09-05 09:33:51
|
Update of /cvsroot/libfunutil/libfunutil/toc/sbin In directory sc8-pr-cvs1:/tmp/cvs-serv24792/toc/sbin Modified Files: toc_core.sh Log Message: Two quoting fixes. Moved the help check test to before the core checks, and made it silent. Index: toc_core.sh =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc/sbin/toc_core.sh,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- toc_core.sh 31 Aug 2003 21:36:00 -0000 1.25 +++ toc_core.sh 5 Sep 2003 09:33:48 -0000 1.26 @@ -116,7 +116,7 @@ # returns 1 if it does not output anything test "x${TOC_QUIET-0}" != "x0" && return 1 test -n "$1" && { - echo $@ + echo "$@" return 0 } cat @@ -128,7 +128,7 @@ # returns 1 if it does not output anything test "x${TOC_LOUD-0}" = "x0" && return 1 test -n "$1" && { - echo $@ + echo "$@" return 0 } cat @@ -780,11 +780,12 @@ # We do some initial sanity checking here, # but any tree-specific checks must be done from configure. -echo "Configuring build environment." toc_parseargs --prefix=${prefix} "$@" toc_loudly 'Loud mode enabled.' -toc_run_fail toc_tests_help +toc_source_test toc_tests_help || exit 0 + +echo "Configuring build environment." toc_quietly <<-EOF ${TOC_BOLD_}Emoticon legend:${_TOC_BOLD} |