Merge pull request #93082 from cfhammill/cfh/fix-singularity-shell-copy
singularity-tools: Check for /bin/sh existence before symlink
This commit is contained in:
commit
6740a5998b
@ -86,7 +86,9 @@ rec {
|
||||
done
|
||||
|
||||
# Create runScript and link shell
|
||||
ln -s ${runtimeShell} bin/sh
|
||||
if [ ! -e bin/sh ]; then
|
||||
ln -s ${runtimeShell} bin/sh
|
||||
fi
|
||||
mkdir -p .singularity.d
|
||||
ln -s ${runScriptFile} .singularity.d/runscript
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user