-
The document of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Generally, it is safest to write |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. |
Beta Was this translation helpful? Give feedback.
/bin/sh
is called by default. On many distributions this is a symlink to bash. However, on Ubuntu it isdash
, which is a POSIXsh
shell.Generally, it is safest to write
%post
etc. assuming they will run on a POSIXsh
compatible shell. If you need to use non-sh syntax, specify a custom shell with-c
as documented - https://docs.sylabs.io/guides/latest/user-guide/definition_files.html#post