summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorwillson-chen <willson.chenwx@gmail.com>2019-09-30 10:45:12 +0800
committerMike Frysinger <vapier@gmail.com>2019-10-09 23:42:08 -0700
commita5761b679f305df1f16dab07d1bb3e59405aed63 (patch)
treea15b8ac5b67cab2e92770e6cd3997fcacf3f5567 /bootstrap.sh
parent534ad0aa242219b0383c0be4238886d1864bcaac (diff)
downloadlibgd-a5761b679f305df1f16dab07d1bb3e59405aed63.tar.gz
fix MacOS sed error when running bootstrap.sh
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index c52edc2..0987b52 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 '/\bENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \
-e 's:#undef:#cmakedefine:' \
src/config.hin
) > src/config.h.cmake