File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,11 +18,3 @@ mkdir -p /data/saswork /data/utilloc
1818# Chown only the directories we manage, not /data/workspace (contains gcsfuse mounts)
1919chown aou:aougroup /data
2020chown -R aou:aougroup /data/saswork /data/utilloc
21-
22- # ##############################################################################
23- # AoU environment loader (staged in Dockerfile at /opt/sas/aou/)
24- # ##############################################################################
25- if [ -d /opt/sas/aou ]; then
26- cp -n /opt/sas/aou/load-env /opt/sas/aou/load-env.sh /data/ 2> /dev/null || true
27- chown aou:aougroup /data/load-env /data/load-env.sh 2> /dev/null || true
28- fi
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ set -o pipefail
1414readonly USER_NAME=" ${1} "
1515readonly DATA_DIR=" ${2} "
1616
17- if [ -f " ${DATA_DIR} /load-env.sh" ]; then
18- sudo -u " ${USER_NAME} " bash -c " source '${DATA_DIR} /load-env.sh'" || true
17+ if [ -f " /opt/sas/aou /load-env.sh" ]; then
18+ sudo -u " ${USER_NAME} " bash -c " source '/opt/sas/aou /load-env.sh'" || true
1919fi
2020
2121# Extract export statements from .bashrc to get workbench environment variables
You can’t perform that action at this time.
0 commit comments