From 67e148a33fc7d6aba17d4bebe99f9ee827fa3217 Mon Sep 17 00:00:00 2001 From: Ludovic Noury Date: Wed, 28 Nov 2007 14:58:10 +0000 Subject: [PATCH] Update to add the implicit default manpath to $MANPATH while adding alliance manpages if $MANPATH was undefined (uses the manpath command) --- alliance/src/distrib/etc/alc_env.csh.in | 4 ++-- alliance/src/distrib/etc/alc_env.sh.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alliance/src/distrib/etc/alc_env.csh.in b/alliance/src/distrib/etc/alc_env.csh.in index 3ec9c922..fb2bfaa5 100644 --- a/alliance/src/distrib/etc/alc_env.csh.in +++ b/alliance/src/distrib/etc/alc_env.csh.in @@ -7,7 +7,7 @@ # Alliance CAD system environnement # Usage (in C-shell) : > source alc_env.csh # (C) 1997 Czo -- -# $Id: alc_env.csh.in,v 1.8 2006/10/05 10:09:25 jpc Exp $ +# $Id: alc_env.csh.in,v 1.9 2007/11/28 14:58:10 noury Exp $ # Generated from alc_env.csh.in on @DATE@ # $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will @@ -79,7 +79,7 @@ if ( $?LD_LIBRARY_PATH ) then setenv LD_LIBRARY_PATH "${ALLIANCE_TOP}/lib:$LD_LIBRARY_PATH" else - setenv LD_LIBRARY_PATH "${ALLIANCE_TOP}/lib" + setenv LD_LIBRARY_PATH "${ALLIANCE_TOP}/lib:`manpath`" endif if ( $?MANPATH ) then diff --git a/alliance/src/distrib/etc/alc_env.sh.in b/alliance/src/distrib/etc/alc_env.sh.in index 89dc6beb..34512732 100644 --- a/alliance/src/distrib/etc/alc_env.sh.in +++ b/alliance/src/distrib/etc/alc_env.sh.in @@ -7,7 +7,7 @@ # Alliance CAD system environnement # Usage (in Bourne-shell) : > . alc_env.sh # (C) 1997 Czo -- -# $Id: alc_env.sh.in,v 1.7 2006/10/05 10:09:25 jpc Exp $ +# $Id: alc_env.sh.in,v 1.8 2007/11/28 14:58:10 noury Exp $ # Generated from alc_env.sh.in on @DATE@ # $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will @@ -82,7 +82,7 @@ export LD_LIBRARY_PATH if [ -z "${MANPATH}" ]; then - MANPATH=$ALLIANCE_TOP/man + MANPATH=$ALLIANCE_TOP/man:$(manpath) else MANPATH=$ALLIANCE_TOP/man:$MANPATH fi