Skip to content

Commit 87e3ebf

Browse files
authored
Merge pull request #18 from rage/mac-sed
Change sed flag -r to -E for mac portability
2 parents 7fd192d + 44deeee commit 87e3ebf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if ! PAGE=$(curl -s https://download.mooc.fi); then
2222
fi
2323

2424
# Adding spaces so ${PAGE[@]} will work.
25-
PAGE=$(echo $PAGE | sed -r 's:</Contents><Contents>:</Contents> <Contents>:g')
25+
PAGE=$(echo $PAGE | sed -E 's:</Contents><Contents>:</Contents> <Contents>:g')
2626

2727
fileprefx=""
2828
if [[ "$os" == "Darwin" ]] || [[ "$os" == "mac" ]]; then

0 commit comments

Comments
 (0)