Update to add the implicit default manpath to $MANPATH while adding

alliance manpages if $MANPATH was undefined (uses the manpath command)
This commit is contained in:
Ludovic Noury 2007-11-28 14:58:10 +00:00
parent 2ef9896528
commit 67e148a33f
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
# Alliance CAD system environnement
# Usage (in C-shell) : > source alc_env.csh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $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

View File

@ -7,7 +7,7 @@
# Alliance CAD system environnement
# Usage (in Bourne-shell) : > . alc_env.sh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $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