nicholasmello / arcade-builder

0 stars 0 forks source link

Incorrect checker warning #48

Open nicholasmello opened 7 months ago

nicholasmello commented 7 months ago

Shellcheck gives the following warning when linting the builder script

In builder line 72:
        find package -name 'Config.in' -exec echo -e "\tsource \"{}\"" >> "${CONFIG_IN_CUSTOM}" \;
                                                                       ^----------------------^ SC2227 (warning): Redirection applies to the find command itself. Rewrite to work per action (or move to end).

This is not consistent with what is happening, the Config.in file is correctly being created because the redirection is being applied to the echo command not the find command as the warning says. It is being ignored but this needs some further investigation.

This is a finding from issue #47