dtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.
While here, also point the man page to the correct default location.
This commit is contained in:
committed by
Jon Trulson
parent
85993b42ab
commit
335a00c6f1
@@ -443,7 +443,7 @@ otherwise, the filename itself will be used as the page header.
|
||||
<Term>4</Term>
|
||||
<ListItem>
|
||||
<Para>Unable to find the <Command>dtksh</Command> initialization file,
|
||||
<Filename>/usr/dt/scripts/DtFuncs.sh</Filename>.
|
||||
<Filename>/usr/dt/lib/dtksh/DtFuncs.dtsh</Filename>.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
|
||||
@@ -1711,9 +1711,9 @@ then
|
||||
Exit $failure_flag
|
||||
fi
|
||||
else
|
||||
if [[ -r "/usr/dt/lib/dtksh/DtFuncs.dtsh" ]]
|
||||
if [[ -r CDE_INSTALLATION_TOP/lib/dtksh/DtFuncs.dtsh ]]
|
||||
then
|
||||
. /usr/dt/lib/dtksh/DtFuncs.dtsh
|
||||
. CDE_INSTALLATION_TOP/lib/dtksh/DtFuncs.dtsh
|
||||
else
|
||||
failure_flag=1
|
||||
echo Sorry--cannot find initialization file.
|
||||
|
||||
Reference in New Issue
Block a user