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

Fix sed -i commands in build script #649

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Conversation

damonbarry
Copy link
Member

Some sed commands in one of the build scripts combine the -i (edit files in place) and -e (expression to be executed) options as -ie. This changes the behavior of -i to make a backup of the edited file with 'e' as the suffix. Because these sed commands only had one expression statement on the command line, the expression was still evaluated even though the -e argument was not present. So the result was effectively the same, which the side effect of creating a backup file that no one asked for.

This change updates the sed commands just to avoid confusion.

@kodiakhq kodiakhq bot merged commit 4e98989 into Azure:main Feb 14, 2025
78 checks passed
@damonbarry damonbarry deleted the fix-sed branch February 14, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants