Skip to content

Conversation

@aportale
Copy link

This prevents echoing out "set MYDIR=foo" and "goto FOUND_MYDIR" by prepending the lines with a "@".

This prevents echoing out "set MYDIR=foo" and "goto FOUND_MYDIR"
by prepending the lines with a "@".
@sbc100
Copy link
Collaborator

sbc100 commented Dec 13, 2023

Sorry I didn't see this so I created a fix here: #20916

@sbc100
Copy link
Collaborator

sbc100 commented Dec 13, 2023

One should not need to prefix commands inside the if/else branches with @ if the if itself is prefixed with @ (as in this case). While debugging this I confirmed that, for example, lines 33-37 don't need the @ prefix.

@aportale
Copy link
Author

Thanks, your variant is the proper fix. And it works well, here:
image
:)

@sbc100
Copy link
Collaborator

sbc100 commented Dec 14, 2023

Awesome!

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.

2 participants