Fix location of Configure.help

This commit is contained in:
Eric Andersen 2001-10-31 11:12:25 +00:00
parent 1552ff7efb
commit f46999f8bc

View File

@ -122,7 +122,7 @@ function rndval () {
# help variable # help variable
# #
function help () { function help () {
if [ -f Documentation/Configure.help ] if [ -f docs/Configure.help ]
then then
#first escape regexp special characters in the argument: #first escape regexp special characters in the argument:
var=$(echo "$1"|sed 's/[][\/.^$*]/\\&/g') var=$(echo "$1"|sed 's/[][\/.^$*]/\\&/g')
@ -135,7 +135,7 @@ ${var}:\\
/^[^ ]/q /^[^ ]/q
/<file:\\([^>]*\\)>/s//\\1/g /<file:\\([^>]*\\)>/s//\\1/g
p p
}" Documentation/Configure.help) }" docs/Configure.help)
if [ -z "$text" ] if [ -z "$text" ]
then then
echo; echo " Sorry, no help available for this option yet.";echo echo; echo " Sorry, no help available for this option yet.";echo
@ -144,7 +144,7 @@ ${var}:\\
fi fi
else else
echo; echo;
echo " Can't access the file Documentation/Configure.help which" echo " Can't access the file docs/Configure.help which"
echo " should contain the help texts." echo " should contain the help texts."
echo echo
fi fi