[Bio] / FigCommon / env.linux-mysql.pl Repository:
ViewVC logotype

Diff of /FigCommon/env.linux-mysql.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Fri Dec 19 22:57:48 2003 UTC revision 1.2, Tue Jan 6 20:12:51 2004 UTC
# Line 1  Line 1 
1  #  #
2  # Linux-mysql-specific configuration.  # Linux-postgres-specific configuration.
3  #  #
4    
5  if [ $# -ne 1 ] ; then;  #
6     echo $0 ": Usage: configure-env-specific <pathToConfigFiles>"  # Invoke the mysql-specific configuration.
7     exit 2  #
8  fi  # We'll find it in the FigCommon directory.
9    #
 basedir=$1  
   
 cat <<EOF >> $basedir/FIG_Config.py  
   
 dbms        = "mysql"    # currently mysql or Pg  
 db          = "fig"  
 dbuser      = "fig"  
 dbpass      = ""  
 dbport      = 5432  
   
   
 EOF  
   
 cat <<EOF >>$basedir/start-servers  
   
   
 EOF  
   
 cat <<EOF >>$basedir/stop-servers  
   
   
10    
11  EOF  $pg_script = "$ENV{FIGCONFIG_RELEASE_DIR}/FigCommon/envsub.mysql.pl";
12    
13    run_script($pg_script);
14    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3