Show
Ignore:
Timestamp:
21.10.2009 16:08:25 (10 years ago)
Author:
ak19
Message:

PassEnv? (DY)LD_LIBRARY_PATH entry added into linux/mac conf file. There's a placeholder that's written over by gsicontrol.sh. The Windows one at the moment need not be updated to do the same, as in Windows the PATH variable holds the path to various DLLs, and we don't want to expose the entire PATH unless we can't help it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/gsicontrol.sh

    r20637 r20829  
    6464    fi 
    6565 
     66    lib_path_var="LD_LIBRARY_PATH" ; 
     67    if [ $GSDLOS = "darwin"] ; then 
     68    lib_path_var="DYLD_LIBRARY_PATH" 
     69    fi 
     70 
    6671    if test ! -z $port ; then 
    6772    echo "Port: $port" ; 
     
    7580    | sed "s@\*\*GSDLHOME\*\*@$GSDLHOME@g" \ 
    7681    | sed "s@\*\*APACHE_HOME_OS\*\*@$GSDLHOME/apache-httpd/$GSDLOS@g" \ 
     82    | sed "s@\*\*LIBRARY_PATH_VAR\*\*@$lib_path_var@g" \ 
    7783    > "$GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf" ; 
    7884    echo "Type '$0 web-start' to start the web server running on port $port" ;