From 335a00c6f11399c396a41671d109f8d6247a7eea Mon Sep 17 00:00:00 2001 From: Pascal Stumpf 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 e71ab9f5..ac5ee908 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. 4 Unable to find the dtksh initialization file, -/usr/dt/scripts/DtFuncs.sh. +/usr/dt/lib/dtksh/DtFuncs.dtsh. diff --git a/cde/programs/dtprintegrate/dtlp.src b/cde/programs/dtprintegrate/dtlp.src index bffa2f6e..9d94e03e 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. -- 2.25.1