Skip to content

fix(scripts): fix check_c_formatting.sh script#186

Merged
kr-t merged 1 commit intomainfrom
fix/formatting_script
Mar 5, 2026
Merged

fix(scripts): fix check_c_formatting.sh script#186
kr-t merged 1 commit intomainfrom
fix/formatting_script

Conversation

@kr-t
Copy link
Collaborator

@kr-t kr-t commented Mar 4, 2026

The script was written initially to be run via bash. Since we use sh now, the syntax has to be modified to work.

Before

./scripts/check_c_formatting.sh -f
./scripts/check_c_formatting.sh: 16: [: ==: unexpected operator
Invalid option: -f

After

./scripts/check_c_formatting.sh -f
Fixing files in place if necessary
Checking C formatting.

The script was written initially to be run via bash. Since we use sh now,
the syntax has to be modified to work.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
@kr-t kr-t requested a review from srberard as a code owner March 4, 2026 12:33
@kr-t kr-t requested review from ArturSir, SorinOlari and casaroli March 4, 2026 12:34
@kr-t kr-t merged commit a9932c8 into main Mar 5, 2026
34 checks passed
@kr-t kr-t deleted the fix/formatting_script branch March 5, 2026 09:20
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

Successfully merging this pull request may close these issues.

3 participants