All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
grid_setup.sh File Reference

Go to the source code of this file.

Functions

 usage ()
 
 get_this_dir ()
 

Variables

 MRB_INSTALL
 
then echo ERROR
 

Function Documentation

get_this_dir ( )

Definition at line 14 of file grid_setup.sh.

15 {
16  ( cd / ; /bin/pwd -P ) >/dev/null 2>&1
17  if (( $? == 0 )); then
18  pwd_P_arg="-P"
19  fi
20 echo "bash source $BASH_SOURCE"
21  reldir=`dirname "$BASH_SOURCE"`
22  thisdir=`cd ${reldir} && /bin/pwd ${pwd_P_arg}`
23 }
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
then shift fi
do cd
usage ( )

Definition at line 3 of file grid_setup.sh.

4 {
5  echo "USAGE: source grid_setup.sh <product_dir>"
6  echo " sets up all ups products found in <product_dir>"
7  echo ""
8  echo " This script is designed to be used when copying a localProducts directory"
9  echo " to the grid for testing."
10  echo " DO NOT setup mrb when using this script."
11  echo ""
12 }

Variable Documentation

then echo ERROR

Definition at line 42 of file grid_setup.sh.

MRB_INSTALL
Initial value:
=${1}
test $?shell = 1 && set ss=csh || ss=sh
echo Shell type is $ss.
if [ -z ${MRB_INSTALL} ]
then
echo "ERROR: please specify the product directory"
return 1
if [ -n "${MRB_BUILDDIR}" ]
process_name opflash particleana ie ie ie z
usage
Definition: doGit.sh:21
then shift fi
MRB_INSTALL
Definition: grid_setup.sh:25
BEGIN_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree showermakertwo END_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree sequence::inline_paths sequence::inline_paths sequence::inline_paths showermakers test

Definition at line 25 of file grid_setup.sh.