Changeset 1943

Show
Ignore:
Timestamp:
11/02/08 21:30:43
Author:
douglm
Message:

move scripts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/quickstart/linux/addgroup

    • Property svn:mergeinfo set
  • trunk/build/quickstart/linux/addgroupmember

    • Property svn:mergeinfo set
  • trunk/build/quickstart/linux/adduser

    • Property svn:mergeinfo set
    r1942 r1943  
    22 
    33# 
    4 # This file is included by the quickstart script file "adduser" so that it can live 
     4# This file is included by the quickstart script file "bwadduser" so that it can live 
    55# within the svn repository. 
    66# 
     
    9696 
    9797$JAVA_HOME/bin/java -classpath $CLASSPATH $ant_home_def $adduser_defs $ant_class_def addUser 
    98  
    99  
    100  
    101  
  • trunk/build/quickstart/linux/bw

    • Property svn:mergeinfo set
    r1942 r1943  
    3838} 
    3939 
     40errorUsage() { 
     41  echo "*******************************************************" 
     42  echo "Error: $1" 
     43  echo "*******************************************************" 
     44  usage 
     45  exit 1 
     46} 
     47 
    4048saveddir=`pwd` 
    4149 
     
    4957offline= 
    5058quickstart= 
     59 
     60if [ "$1" = "" ] ; then 
     61  usage 
     62  exit 1 
     63fi 
    5164 
    5265while [ "$1" != "" ] 
     
    91104if [ "$quickstart" != "" ] ; then 
    92105  if [ "$BWCONFIGS" != "" ] ; then 
    93     echo "*******************************************************" 
    94     echo "Error: Cannot specify both -quickstart and -bwchome" 
    95     echo "*******************************************************" 
    96     exit 1 
     106    errorUsage "Cannot specify both -quickstart and -bwchome" 
    97107  fi 
    98108 
     
    106116 
    107117if [ ! -f "$BEDEWORK_CONFIG/build.properties" ] ; then 
    108   echo "*******************************************************" 
    109   echo "Error: Configuration $BEDEWORK_CONFIG does not exist or is not a bedework configuration." 
    110   echo "*******************************************************" 
    111   exit 1 
     118  errorUsage "Configuration $BEDEWORK_CONFIG does not exist or is not a bedework configuration." 
    112119fi 
    113120 
    114121if [ -z "$JAVA_HOME" -o ! -d "$JAVA_HOME" ] ; then 
    115   echo "*******************************************************" 
    116   echo "Error: JAVA_HOME is not defined correctly for bedework." 
    117   echo "*******************************************************" 
    118   exit 1 
     122  errorUsage "JAVA_HOME is not defined correctly for bedework." 
    119123fi 
    120124 
  • trunk/build/quickstart/linux/initdir

    • Property svn:mergeinfo set
  • trunk/build/quickstart/windows/bw.bat

    • Property svn:mergeinfo set