3 # run simple git commands on each repository in MRB_SOURCE
6 # Determine this command name
9 fullCom=
"${thisComFull%.*}"
13 echo
"Usage: $fullCom <command>"
16 # Determine command options (just -h for help)
21 * ) echo
"ERROR: Unknown option" ;
usage ;
exit 1 ;;
29 echo
'ERROR: no options specified'
35 if [ -
z "${MRB_SOURCE}" ]
37 echo
'ERROR: MRB_SOURCE must be defined'
38 echo
' source the appropriate localProductsXXX/setup'
42 if [ ! -
r $MRB_SOURCE/CMakeLists.txt ]; then
43 echo
"$MRB_SOURCE/CMakeLists.txt not found"
47 # find the directories
48 # ignore any directory that does not contain ups/product_deps
54 if [ -
r $file/ups/product_deps ]
56 pkglist=
"$file $pkglist"
64 echo
"${REP}: git ${gitcmd}"
65 cd ${MRB_SOURCE}/${REP} ||
exit 1
70 echo
"${REP} git ${gitcmd} failure: ${okflow}"
process_name opflash particleana ie ie ie z
then echo Invalid dCache scratch not copying back else ifdh ls
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in