fix MacOS sed error when running bootstrap.sh

master
willson-chen 2019-09-30 10:45:12 +08:00 committed by Mike Frysinger
parent 534ad0aa24
commit a5761b679f
1 changed files with 1 additions and 1 deletions

View File

@ -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 '/\bENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \
-e 's:#undef:#cmakedefine:' \
src/config.hin
) > src/config.h.cmake