]> git.notmuchmail.org Git - notmuch/blobdiff - lib/gen-version-script.sh
compat: don't include compat.h from the feature test source
[notmuch] / lib / gen-version-script.sh
index bf152cc9b2da286e0fc71db6ad0bdbf28dd3bf80..c98a07b0c701e70f4963c17c63c42a19de2e6cf0 100644 (file)
@@ -1,7 +1,8 @@
+set -eu
 
 # we go through a bit of work to get the unmangled names of the
 # typeinfo symbols because of
-# http://sourceware.org/bugzilla/show_bug.cgi?id=10326
+# https://sourceware.org/bugzilla/show_bug.cgi?id=10326
 
 if [ $# -lt 2 ]; then
     echo Usage: $0 header obj1 obj2 obj3
@@ -16,7 +17,7 @@ nm  $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $3 ~ "Xapian.*Error" {print $3
 while read sym; do
     demangled=$(c++filt $sym)
     case $demangled in
-       typeinfo*) 
+       typeinfo*)
            printf "\t$sym;\n"
            ;;
        *)