Skip to content
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

doc/hosting/linux_scripts/common.sh: support compound commands like "snap run warzone2100" #3984

Merged
merged 8 commits into from
Jul 7, 2024

Conversation

johan-boule
Copy link
Contributor

@johan-boule johan-boule commented Jul 7, 2024

We can't use the command bash built-in to check the existence of the program since it may be something like "snap run warzone2100".
If the command isn't valid, we'll get the error at the end of the script anyway.

quoting needed if command has spaces, e.g. snap run warzone2100
Actually, we can't use the command bash built-in to check the existence of the program since it make be something like "snap run warzone2100"
@johan-boule johan-boule changed the title Update common.sh doc/hosting/linux_scripts/common.sh: support compound commands like "snap run warzone2100" Jul 7, 2024
@past-due past-due merged commit 6a5f043 into Warzone2100:master Jul 7, 2024
1 of 36 checks passed
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