change sed detection again

This commit is contained in:
nakst 2022-01-22 09:56:51 +00:00
parent cd1759ed4a
commit 327a33ab18
1 changed files with 1 additions and 5 deletions

View File

@ -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 <assert.h>/#include <essence.h>/g' {} \;
find . -type f -exec $SED -i 's/#include <atomic.h>/#include <essence.h>/g' {} \;