dtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Tue, 6 Aug 2013 12:21:48 +0000 (14:21 +0200)
committerJon Trulson <jon@radscan.com>
Tue, 6 Aug 2013 23:27:37 +0000 (17:27 -0600)
While here, also point the man page to the correct default location.

cde/doc/C/guides/man/man1_dt/lp.sgm
cde/programs/dtprintegrate/dtlp.src

index e71ab9f5412917f88ba34261e822a7b847510a4d..ac5ee908da1f54608c9a24bc8c29a4f650e6e843 100644 (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>
index bffa2f6e6ceb67e01109e3b564d92df2faa5e0c0..9d94e03e5a6f1c87f8f39f30db9c299021192362 100755 (executable)
@@ -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.