diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2024-09-27 18:30:17 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2024-10-03 13:45:01 +0300 |
| commit | 51700c4f43babfb446ce2f856ef5432271e6af97 (patch) | |
| tree | 7db7e030a1d37aedc68eb2865a2743c9aae5dd57 /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch | |
| parent | de1082b8a78ab1888474d09f6fcbf2a747d60dc7 (diff) | |
| download | openbmc-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-sqlparse/0001-sqlparse-change-shebang-to-python3.patch')
0 files changed, 0 insertions, 0 deletions
