Skip to content

Commit

Permalink
Fixed a bug in locating release_setup.sh in case Singularity sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwei Ye authored and Shuwei Ye committed Jan 26, 2024
1 parent 3eb5ffa commit d66740f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-atlas_container.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# coding: utf-8
# version=2023-12-06-r01
# version=2024-01-26-r01
# author: Shuwei Ye <yesw@bnl.gov>
"true" '''\'
myScript="${BASH_SOURCE:-$0}"
Expand Down Expand Up @@ -362,7 +362,7 @@ if [ -e $sandboxPath$releaseSetup1 -o $sandboxPath$releaseSetup2 ]; then
runCmd="echo Jupyter is not ready yet"
# runCmd="singularity exec $bindOpt $sandboxPath /bin/bash -c "'"source $releaseSetup; jupyter lab"'
else
if [ -e $releaseSetup1 ]; then
if [ -e $sandboxPath$releaseSetup1 ]; then
releaseSetup=$releaseSetup1
else
releaseSetup=$releaseSetup2
Expand Down

0 comments on commit d66740f

Please sign in to comment.