Skip to content
Snippets Groups Projects
Commit 9337637f authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: install.sh all /w prefix BINDPATH for JLab ifarm

parent 567c68ed
No related branches found
No related tags found
1 merge request!395feat: install.sh all /w prefix BINDPATH for JLab ifarm
...@@ -183,7 +183,7 @@ function install_singularity() { ...@@ -183,7 +183,7 @@ function install_singularity() {
BINDPATH=${SINGULARITY_BINDPATH} BINDPATH=${SINGULARITY_BINDPATH}
echo " --> system bindpath: $BINDPATH" echo " --> system bindpath: $BINDPATH"
PREFIX_ROOT="/$(realpath $PREFIX | cut -d "/" -f2)" PREFIX_ROOT="/$(realpath $PREFIX | cut -d "/" -f2)"
for dir in /work /scratch /volatile /cache /gpfs /gpfs01 /gpfs02 $PREFIX_ROOT; do for dir in /w /work /scratch /volatile /cache /gpfs /gpfs01 /gpfs02 $PREFIX_ROOT; do
## only add directories once ## only add directories once
if [[ ${BINDPATH} =~ $(basename $dir) ]]; then if [[ ${BINDPATH} =~ $(basename $dir) ]]; then
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment