diff --git a/ports/harfbuzz/build.sh b/ports/harfbuzz/build.sh index e43cb57..7125ce6 100755 --- a/ports/harfbuzz/build.sh +++ b/ports/harfbuzz/build.sh @@ -71,11 +71,7 @@ if [ ! -d "bin/harfbuzz" ]; then cd bin/harfbuzz/src SED=sed - - uname -a | grep Darwin > /dev/null - if [ $? -ne 1 ]; then - SED=gsed - fi + uname -a | grep Darwin && SED=gsed find . -type f -exec $SED -i 's/#include /#include /g' {} \; find . -type f -exec $SED -i 's/#include /#include /g' {} \;