See patch.
>From 91a38a7469e5fe929aa1ccc7fcd77bcfbd7e61bb Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Tue, 6 Aug 2013 14:21:48 +0200
Subject: [PATCH] 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.
---
 cde/doc/C/guides/man/man1_dt/lp.sgm | 2 +-
 cde/programs/dtprintegrate/dtlp.src | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cde/doc/C/guides/man/man1_dt/lp.sgm 
b/cde/doc/C/guides/man/man1_dt/lp.sgm
index e71ab9f..ac5ee90 100644
--- a/cde/doc/C/guides/man/man1_dt/lp.sgm
+++ b/cde/doc/C/guides/man/man1_dt/lp.sgm
@@ -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>
diff --git a/cde/programs/dtprintegrate/dtlp.src 
b/cde/programs/dtprintegrate/dtlp.src
index bffa2f6..9d94e03 100755
--- a/cde/programs/dtprintegrate/dtlp.src
+++ b/cde/programs/dtprintegrate/dtlp.src
@@ -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.
-- 
1.8.3.3

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to