From: <sg...@us...> - 2003-09-05 09:34:57
|
Update of /cvsroot/libfunutil/libfunutil/toc/tests In directory sc8-pr-cvs1:/tmp/cvs-serv24961/toc/tests Modified Files: toc_core_tests.sh Log Message: Now looks for more|less instead of just more. Index: toc_core_tests.sh =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc/tests/toc_core_tests.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- toc_core_tests.sh 31 Aug 2003 00:43:05 -0000 1.8 +++ toc_core_tests.sh 5 Sep 2003 09:34:54 -0000 1.9 @@ -11,7 +11,6 @@ cut=CUT \ gzip=GZIP \ ls=LS \ - more=XtocX \ perl=PERL \ sed=SED \ xargs=XARGS \ @@ -25,6 +24,11 @@ test "x$v" = "xXtocX" && continue toc_add_make $v=${TOC_FIND_RESULT} done + +toc_find_failok less || toc_find_failok more || { + echo "Found neither 'more' nor 'less'!!!" + return 1 +} toc_find_fail install-sh ${TOC_TOCDIR}/bin toc_add_make INSTALLER_BIN="\$(top_srcdir)/${TOC_FIND_RESULT##${PWD}/}" |