Skip to content

Why is "if" block not working? #2787

Answered by casey
andradei asked this question in Q&A
Jun 24, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

By default, recipe lines are executed by sh, not just. if … == … { … } is just syntax, so it won't work with sh.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andradei
Comment options

Answer selected by casey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants