Skip to content

Commit caff369

Browse files
authored
Update execute_runner.sh (#493)
1 parent ea381eb commit caff369

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/execute_runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ export HOME
77
JOB_ID=$1
88
EE2_ENDPOINT=$2
99

10-
# Remove 'services.' from EE2_ENDPOINT if it exists
11-
EE2_ENDPOINT=${EE2_ENDPOINT/services./}
1210

1311
KBASE_ENDPOINT=$EE2_ENDPOINT
1412
export KBASE_ENDPOINT
1513

1614
# Detect if we are running at NERSC and load some customization
1715
if [ -e /global/homes/k/kbaserun/.local_settings ] ; then
16+
# Remove 'services.' from EE2_ENDPOINT if it exists
17+
EE2_ENDPOINT=${EE2_ENDPOINT/services./}
1818
HOME=/global/homes/k/kbaserun
1919
. "$HOME/.local_settings" "$JOB_ID" "$EE2_ENDPOINT"
2020
fi

0 commit comments

Comments
 (0)