mirror of https://gitlab.com/nakst/essence
change sed detection again
This commit is contained in:
parent
cd1759ed4a
commit
327a33ab18
|
@ -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' {} \;
|
||||
|
|
Loading…
Reference in New Issue