mirror of
https://github.com/archr-linux/libmali.git
synced 2026-03-31 15:01:53 -07:00
scripts: normalize.sh: Fix a racing case
Change-Id: I1835a31f2c9f5818e3b9f87eb4571f1467e1fcdd Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -20,14 +20,16 @@ for lib in $LIBS; do
|
||||
# 'found local symbol in global part of symbol table'
|
||||
#
|
||||
# depends on lief (pip3 install lief)
|
||||
readelf -s $lib 2>&1 | grep -q Warning && \
|
||||
readelf -s $lib 2>&1 | grep -wq Warning && \
|
||||
scripts/fixup_dynsym.py $lib&
|
||||
done
|
||||
|
||||
wait
|
||||
|
||||
for lib in $LIBS; do
|
||||
# Normalize library name
|
||||
mv $lib "${lib%/*}/$(scripts/parse_name.sh --format $lib)" 2>/dev/null
|
||||
done
|
||||
|
||||
# Update debian control and rules
|
||||
scripts/update_debian.sh
|
||||
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user