From 74f46e938bb82ee315d015f52dc2cbf5276482ed Mon Sep 17 00:00:00 2001 From: willson-chen Date: Mon, 30 Sep 2019 11:00:58 +0800 Subject: \b is not support in MacOS sed --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 0987b52..fe7dd0f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -21,7 +21,7 @@ fi echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */" sed -E \ -e '1d' \ - -e '/\bENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \ + -e '/ENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \ -e 's:#undef:#cmakedefine:' \ src/config.hin ) > src/config.h.cmake -- cgit v1.2.1