From 327a33ab183aff3b94da4b1497a70823772e6c99 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Sat, 22 Jan 2022 09:56:51 +0000 Subject: [PATCH] change sed detection again --- ports/harfbuzz/build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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' {} \;