We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9ff55 commit cb79468Copy full SHA for cb79468
scripts/library.sh
@@ -78,7 +78,11 @@ update_readme() {
78
local source_text="$2"
79
local destination_text="$3"
80
81
- sed -i "s|$source_text|$destination_text|g" "${manifests_directory}/README.md"
+ if [[ "$OSTYPE" == "darwin"* ]]; then
82
+ sed -i "" "s|$source_text|$destination_text|g" "${manifests_directory}/README.md" # BSD sed of Mac OSX
83
+ else
84
+ sed -i "s|$source_text|$destination_text|g" "${manifests_directory}/README.md" # GNU sed of Linux
85
+ fi
86
}
87
88
# Commit changes to git repository
0 commit comments