Skip to content

Commit

Permalink
docs: fix the singularity-calling script
Browse files Browse the repository at this point in the history
The instructions for creating the shell script to simplify calling
singularity say "save it as icf-utils", but it seems that the provided
code block is a mixture of the file content (starts with a hashbang)
and a copy-paste snippet to create the file (ends with a redirection
to icf-utils).

This removes the seemingly incorrect redirection from the icf-utils
shell script definition.
  • Loading branch information
mslw committed Jun 7, 2024
1 parent 9ea07e2 commit da9eb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/reference/container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ and save it as ``icf-utils``:
#!/bin/sh
set -e -u
singularity run -B <absolute-path-to-data> <absolute-path-to-icf.sif-file> "$@" > icf-utils
singularity run -B <absolute-path-to-data> <absolute-path-to-icf.sif-file> "$@"
The ``-B`` defines a bind path, making it accessible from within the
container.
Expand Down

0 comments on commit da9eb92

Please sign in to comment.