mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01: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:
parent
6e1c5cbcf5
commit
b87e06a005
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue