Skip to content

merge SC3046 SC3051 ("In POSIX sh, source in place of . is undefined") #3186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jmuf opened this issue Apr 10, 2025 · 0 comments
Open

merge SC3046 SC3051 ("In POSIX sh, source in place of . is undefined") #3186

jmuf opened this issue Apr 10, 2025 · 0 comments

Comments

@jmuf
Copy link

jmuf commented Apr 10, 2025

Both SC3046 and SC3051 give the same warning:

In code/files/collect_data.sh line 7:
    source /etc/sysconfig/someenv
    ^---------------------------^ SC3046 (warning): In POSIX sh, 'source' in place of '.' is undefined.
    ^---------------------------^ SC3051 (warning): In POSIX sh, 'source' in place of '.' is undefined.

The help texts in the Wiki differ slightly (absolute path sourced in example for SC3051 and hint on $PATH, no path in SC3046) - suggest to drop SC3046.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant