File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ function get_parent_cmds ()
1515 get_parent_cmds " $XPID " " $DEPTH "
1616}
1717
18+ export CMSSW_LIMIT_RESULTS=" -0"
1819CMD_NAME=$( basename $0 )
19- LIMIT_RESULTS=" NO"
2020QUERY=
2121FORMAT=" plain"
2222HELP=
2323for (( i= 1 ; i<= $# ; i++ )) ; do
2424 next=$(( i+ 1 ))
25- case ${! i} in
25+ case ${! i} in
2626 --query=* | -query=* ) QUERY=" ${! i#* =} " ;;
2727 --query | -query ) QUERY=${! next} ;;
2828 --format=* | -format=* ) FORMAT=" ${! i#* =} " ;;
@@ -66,7 +66,6 @@ if [ "${FORMAT}" = "json" ] ; then
6666 fi
6767else
6868 QUERY_RESULTS=$(( curl - f - L - s "${QUERY_URL} " || true) | grep / store/ | sed 's| || g;s| "|| g;s|,|| g')
69- export CMSSW_LIMIT_RESULTS="-0 "
7069 if (get_parent_cmds $$ 0 2 >&1 || true) | grep -aq '/cmsDriver.py'; then
7170 export CMSSW_LIMIT_RESULTS="20 "
7271 fi
You can’t perform that action at this time.
0 commit comments