mirror of
https://git.tukaani.org/xz.git
synced 2025-10-06 01:08:20 +00:00
liblzma: validate_map.sh: Catch some unlikely errors
This commit is contained in:
parent
067cecdea6
commit
e3ba73034a
@ -86,7 +86,7 @@ export LC_ALL
|
|||||||
|
|
||||||
STATUS=0
|
STATUS=0
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
# Get the list of symbols that aren't defined in liblzma_generic.map.
|
# Get the list of symbols that aren't defined in liblzma_generic.map.
|
||||||
SYMS=$(sed -n 's/^extern LZMA_API([^)]*) \([a-z0-9_]*\)(.*$/\1;/p' \
|
SYMS=$(sed -n 's/^extern LZMA_API([^)]*) \([a-z0-9_]*\)(.*$/\1;/p' \
|
||||||
@ -95,7 +95,7 @@ SYMS=$(sed -n 's/^extern LZMA_API([^)]*) \([a-z0-9_]*\)(.*$/\1;/p' \
|
|||||||
| grep -Fve "$(sed '/[{}:*]/d;/^$/d;s/^ //' liblzma_generic.map)")
|
| grep -Fve "$(sed '/[{}:*]/d;/^$/d;s/^ //' liblzma_generic.map)")
|
||||||
|
|
||||||
# Check that there are no old alpha or beta versions listed.
|
# Check that there are no old alpha or beta versions listed.
|
||||||
VER=$(cd ../.. && sh build-aux/version.sh)
|
VER=$(cd ../.. && sh build-aux/version.sh) || exit 1
|
||||||
NAMES=
|
NAMES=
|
||||||
case $VER in
|
case $VER in
|
||||||
*alpha | *beta)
|
*alpha | *beta)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user