1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

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>
<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>

View file

@ -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.