]> git.notmuchmail.org Git - notmuch/blobdiff - lib/gen-version-script.sh
nmbug: updated to modern URL for PEP 343
[notmuch] / lib / gen-version-script.sh
index 64a737494e1cae2c3f3da8b7fc29902236e54372..0f908093dc5e6de1da8b281f191e4b6dc34b675e 100644 (file)
@@ -1,3 +1,4 @@
+set -eu
 
 # we go through a bit of work to get the unmangled names of the
 # typeinfo symbols because of
@@ -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"
            ;;
        *)