Skip to content

Commit

Permalink
Revert afs-remote-fix link, deleting some exports and unused variable…
Browse files Browse the repository at this point in the history
…s, disabling warnings on others
  • Loading branch information
Kaushik Malapati authored and Kaushik Malapati committed Oct 2, 2024
1 parent 3dba6ea commit 484b89f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 63 deletions.
53 changes: 0 additions & 53 deletions scripts/afs-remote-fix

This file was deleted.

1 change: 1 addition & 0 deletions scripts/afs-remote-fix
1 change: 0 additions & 1 deletion scripts/configdb_readxtc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ if [[ ($1 == "--help") || ($1 == "-h") ]]; then
fi

USER=$(whoami)
export ARGSTR=''

while getopts "u:e:" OPTION; do
case $OPTION in
Expand Down
3 changes: 2 additions & 1 deletion scripts/makepeds
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ INTERACTIVE=${INTERACTIVE:=0}
SDFQUEUES=('milano' 'roma' 'xxx')
for SDFQUEUE in "${SDFQUEUES[@]}"; do
if [[ $QUEUE == "$SDFQUEUE" ]]; then
export S3DF=1
# shellcheck disable=SC2034
S3DF=1
fi
done

Expand Down
6 changes: 4 additions & 2 deletions scripts/motorInfo
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ while getopts "f:s:e:" OPTION; do
PVFIELDS=${OPTARG//,/}
;;
s)
export STARTTIME=$OPTARG
# shellcheck disable=SC2034
STARTTIME=$OPTARG
;;
e)
export ENDTIME=$OPTARG
# shellcheck disable=SC2034
ENDTIME=$OPTARG
;;
*)
echo "Invalid option \"$OPTION\" provided"
Expand Down
4 changes: 0 additions & 4 deletions scripts/restartdaq
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ fi

if [ ${#DOWIN} != 0 ]; then
T="$(date +%s%N)"
if [ "$HUTCH" == 'xpp' ]; then
test=$(xdotool search --sync --onlyvisible --name 'ProcStat')
export test
fi
if [ "$HUTCH" == 'xcs' ]; then
sleep 2
fi
Expand Down
1 change: 0 additions & 1 deletion scripts/startami
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if [[ ($1 == "--help") || ($1 == "-h") ]]; then
exit 0
fi

export STOP_AMI=0
while getopts "sc:" OPTION; do
case "$OPTION" in
s)
Expand Down
1 change: 0 additions & 1 deletion scripts/wherepsana
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ if [[ -z $FOUNDHUTCH ]]; then
echo 'could not determine hutch or hutch not implemented, quit'
exit
fi
export NOTRUNNING='Not running'

while getopts "c:d" OPTION; do
case "$OPTION" in
Expand Down

0 comments on commit 484b89f

Please sign in to comment.