diff options
author | David Kalnischkies <david@kalnischkies.de> | 2013-12-07 13:48:46 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2013-12-07 13:48:46 +0100 |
commit | f1d87437cc6336fb5427d041bac262f9296679ad (patch) | |
tree | 969da5df3bc97bfed5ae6ddea7535dbcfc3b86ec /prepare-release | |
parent | 3fadd319255fc4bddb498a23a81e4ffe8588c701 (diff) |
update libapt-pkg4.12 symbols file
also fixing the release script code to deal with 'set -e' mode while
checking the symbols file.
Diffstat (limited to 'prepare-release')
-rwxr-xr-x | prepare-release | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prepare-release b/prepare-release index 69ca83887..5dc5a63a7 100755 --- a/prepare-release +++ b/prepare-release @@ -69,14 +69,14 @@ elif [ "$1" = 'library' ]; then librarysymbols() { echo "Checking $1 in version $2" local tmpfile=$(mktemp) - dpkg-gensymbols -p${1}${2} -ebuild/bin/${1}.so.${2} -Idebian/${1}${2}.symbols -O/dev/null 2> /dev/null > $tmpfile + dpkg-gensymbols -p${1}${2} -ebuild/bin/${1}.so.${2} -Idebian/${1}${2}.symbols -O/dev/null 2> /dev/null > $tmpfile || true echo '=== Missing symbols:' - grep '^+#MISSING' $tmpfile + grep '^+#MISSING' $tmpfile || true echo '=== New symbols:' grep '^+ ' $tmpfile | cut -d' ' -f 2 | cut -d'@' -f 1 | c++filt | while read line; do echo " (c++)\"${line}@Base\" $VERSION" done | sort -u - rm $tmpfile + rm -f $tmpfile } librarysymbols 'libapt-pkg' "${LIBAPTPKGVERSION}" echo |