All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
build-larbase-py2.sh File Reference

Go to the source code of this file.

Functions

 usage ()
 
 have_label ()
 

Variables

while getopts
 
do case
 
*usage exit esac done shift
expr $OPTIND 
OPTIND
 
 IFS =:
 
 quals
 
s7[0-9] s8[0-9] s9[0-9] squal =${onequal}
 
labels
 
prof qflag ="-p"
 

Function Documentation

have_label ( )

Definition at line 20 of file build-larbase-py2.sh.

20  {
21  for label in "${labels[@]}"; do
22  for wanted in "$@"; do
23  [[ "${label}" == "${wanted}" ]] && return 0
24  done
25  done
26  return 1
27 }
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
usage ( )

Definition at line 7 of file build-larbase-py2.sh.

8 {
9  cat 1>&2 <<EOF
10 Usage: $(basename ${0}) [-h]
11  env WORKSPACE=<workspace> LARVER=<larsoft version> QUAL=<qualifier> BUILDTYPE=<debug|prof> $(basename ${0})
12 
13 Options:
14 
15  -h This help.
16 
17 EOF
18 }
while getopts h
do case in h help echo Usage
Definition: file_to_url.sh:42
then QUAL

Variable Documentation

do case
Initial value:
{OPT} in
h)
exit 1
usage
Definition: doGit.sh:21
while getopts h
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in

Definition at line 30 of file build-larbase-py2.sh.

while getopts

Definition at line 29 of file build-larbase-py2.sh.

IFS =:

Definition at line 48 of file build-larbase-py2.sh.

* labels
Initial value:
=${onequal}
esac
done
case ${build_type} in
debug) qflag="-d"
prof qflag
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in

Definition at line 59 of file build-larbase-py2.sh.

* usage exit esac done shift expr $OPTIND OPTIND
Initial value:
=1
working_dir="${WORKSPACE:-$(pwd)}"
version="${1:-${LARVER}}"
qual_set="${2:-${QUAL}}"
build_type="${3:-${BUILDTYPE}}"
oIFS=${IFS}

Definition at line 41 of file build-larbase-py2.sh.

prof qflag ="-p"

Definition at line 65 of file build-larbase-py2.sh.

quals
Initial value:
=(${qual_set
for onequal in "${quals[@]}"; do
case ${onequal} in
e[679]|e1[0-9]|c[0-9])
basequal=${onequal}
* labels
then basequal
Definition: buildUboone2.sh:26
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
do i e
physics pm2 e1

Definition at line 48 of file build-larbase-py2.sh.

s7 [0-9] s8 [0-9] s9 [0-9] squal =${onequal}

Definition at line 56 of file build-larbase-py2.sh.