summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2024-09-27 18:30:17 +0300
committerPatrick Williams <patrick@stwcx.xyz>2024-10-03 13:45:01 +0300
commit51700c4f43babfb446ce2f856ef5432271e6af97 (patch)
tree7db7e030a1d37aedc68eb2865a2743c9aae5dd57 /meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval
parentde1082b8a78ab1888474d09f6fcbf2a747d60dc7 (diff)
downloadopenbmc-51700c4f43babfb446ce2f856ef5432271e6af97.tar.xz
setup: fix shell exit call
Running `. ./setup` would result in the shell exiting, since the script is sourced. How to exit has to be different between sourcing (`return`) and calling (`exit`). Detect the two different execution modes and call the appropriate command for error paths. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icf26d1164216ba79ffa81acca1cade20399f8667
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval')
0 files changed, 0 insertions, 0 deletions