Skip to content

Commit 1ffeb5c

Browse files
committed
Add if for Mac vs. Linux in sed command
1 parent 174d61c commit 1ffeb5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/import.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ copyRepoFilesToDest() {
9191
}
9292

9393
renameEcosystemOverview() {
94-
sed -i '' 's/Get the Flow Down - Flow Learning Resources/Ecosystem Overview/g' ./docs/ecosystem/overview/README.md
94+
if [[ "$OSTYPE" == "darwin"* ]]; then
95+
sed -i '' 's/Get the Flow Down - Flow Learning Resources/Ecosystem Overview/g' ./docs/ecosystem/overview/README.md
96+
else
97+
sed -i'' 's/Get the Flow Down - Flow Learning Resources/Ecosystem Overview/g' ./docs/ecosystem/overview/README.md
98+
fi
9599
}
96100

97101
cloneDocReposToDest

0 commit comments

Comments
 (0)