From 4b55df85348c4ad4129bf6a9af052231f1d6716e Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 21 Aug 2011 16:45:00 -0300 Subject: [PATCH] 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. --- lib/gen-version-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"