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

Update ci.sh to support MacOS #204

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Update ci.sh to support MacOS #204

merged 1 commit into from
Mar 4, 2024

Conversation

wcgunter
Copy link
Collaborator

@wcgunter wcgunter commented Mar 4, 2024

Alters the syntax of the sed commands in ci.sh to support both MacOS & Linux formats of the sed command.

On MacOS, when -i (in place) is specified, a file extension is expected. As a result, the file extension would be the body of the command (ex: s/WORKER_TYPE/run_all/) and the rest of the command would fail (not enough parameters). By specifying the extension to be an empty string and explicitly calling what we want the command to do (-e), this script now works across MacOS and Linux.

@wcgunter wcgunter marked this pull request as ready for review March 4, 2024 21:03
@wcgunter wcgunter requested a review from jamesfwood March 4, 2024 22:07
@jamesfwood jamesfwood merged commit 2f41156 into develop Mar 4, 2024
4 checks passed
@jamesfwood jamesfwood deleted the wg-ci-cross-system branch March 4, 2024 22:08
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