diff --git a/alliance/src/distrib/etc/Makefile.am b/alliance/src/distrib/etc/Makefile.am index 2437e8fe..7e50ded7 100644 --- a/alliance/src/distrib/etc/Makefile.am +++ b/alliance/src/distrib/etc/Makefile.am @@ -1,6 +1,6 @@ -# $Id: Makefile.am,v 1.5 2009/09/01 21:33:39 jpc Exp $ +# $Id: Makefile.am,v 1.6 2012/04/11 13:31:14 alliance Exp $ -etcdir=/etc/profile.d +etcdir=$(sysconfdir) etc_SCRIPTS=alc_env.csh alc_env.sh diff --git a/alliance/src/distrib/etc/alc_env.csh.in b/alliance/src/distrib/etc/alc_env.csh.in index a3c24008..18a18020 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.14 2011/12/02 17:24:11 alliance Exp $ +# $Id: alc_env.csh.in,v 1.15 2012/04/11 13:31:14 alliance Exp $ # Generated from alc_env.csh.in on @DATE@ # $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will @@ -21,7 +21,7 @@ # Where the Alliance CAD is installed setenv ALLIANCE_TOP "@prefix@" - set SYSCONF_TOP "${ALLIANCE_TOP}" + set SYSCONF_TOP "${ALLIANCE_TOP}/etc" set CELLS_TOP "${ALLIANCE_TOP}/cells" if ( "${ALLIANCE_TOP}" == "/usr/lib/alliance" ) then # For installation in the FHS. diff --git a/alliance/src/distrib/etc/alc_env.sh.in b/alliance/src/distrib/etc/alc_env.sh.in index 539ea790..354b8ba6 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.14 2011/12/02 17:24:11 alliance Exp $ +# $Id: alc_env.sh.in,v 1.15 2012/04/11 13:31:14 alliance Exp $ # Generated from alc_env.sh.in on @DATE@ # $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will @@ -21,7 +21,7 @@ # Where the Alliance CAD is installed ALLIANCE_TOP=@prefix@; export ALLIANCE_TOP - SYSCONF_TOP=$ALLIANCE_TOP + SYSCONF_TOP=$ALLIANCE_TOP/etc CELLS_TOP=$ALLIANCE_TOP/cells if [ "$ALLIANCE_TOP" = "/usr/lib/alliance" ]; then # FHS Installation.