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:
Pascal Stumpf
2013-08-06 14:21:48 +02:00
committed by Jon Trulson
parent 85993b42ab
commit 335a00c6f1
2 changed files with 3 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ otherwise, the filename itself will be used as the page header.
<Term>4</Term> <Term>4</Term>
<ListItem> <ListItem>
<Para>Unable to find the <Command>dtksh</Command> initialization file, <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> </Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>

View File

@@ -1711,9 +1711,9 @@ then
Exit $failure_flag Exit $failure_flag
fi fi
else else
if [[ -r "/usr/dt/lib/dtksh/DtFuncs.dtsh" ]] if [[ -r CDE_INSTALLATION_TOP/lib/dtksh/DtFuncs.dtsh ]]
then then
. /usr/dt/lib/dtksh/DtFuncs.dtsh . CDE_INSTALLATION_TOP/lib/dtksh/DtFuncs.dtsh
else else
failure_flag=1 failure_flag=1
echo Sorry--cannot find initialization file. echo Sorry--cannot find initialization file.