Skip to content

Commit

Permalink
\b is not support in MacOS sed
Browse files Browse the repository at this point in the history
  • Loading branch information
willson-chen authored and vapier committed Oct 10, 2019
1 parent a5761b6 commit 74f46e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 74f46e9

Please sign in to comment.