From: David Bremner Date: Sun, 21 Aug 2011 19:45:00 +0000 (-0300) Subject: re-enable notmuch.sym generation using POSIX sed X-Git-Tag: 0.8_rc0~8^2 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4b55df85348c4ad4129bf6a9af052231f1d6716e;ds=sidebyside re-enable notmuch.sym generation using POSIX sed Unfortunately Robin Green's patch 52e4dedf9aa was lost when I created gen-version-script.sh. This merges his changes manually into that script. It turns out tabs seem not needed in version script files, so I simplified a bit and removed the printf. Thanks to Alexander Botero-Lowry for help and testing. --- diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh index e753eaf5..ec801966 100644 --- a/lib/gen-version-script.sh +++ b/lib/gen-version-script.sh @@ -23,5 +23,5 @@ while read sym; do ;; esac done -sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $HEADER +sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/ \1;/p' $HEADER printf "local: *;\n};\n"