Skip to content

Commit 77d0300

Browse files
committed
consistent variable name
1 parent 10a1621 commit 77d0300

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Utilities/General/ibeos/das_client

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ function get_parent_cmds ()
1515
get_parent_cmds "$XPID" "$DEPTH"
1616
}
1717

18+
export CMSSW_LIMIT_RESULTS="-0"
1819
CMD_NAME=$(basename $0)
19-
LIMIT_RESULTS="NO"
2020
QUERY=
2121
FORMAT="plain"
2222
HELP=
2323
for ((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
6767
else
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

0 commit comments

Comments
 (0)