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:
Anderson Torres
2020-09-19 00:42:29 -03:00
committed by GitHub

View File

@@ -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