remove redundant readlink
This commit is contained in:
parent
fb975e2a2c
commit
ba74f3a646
6
generate
6
generate
@ -102,9 +102,9 @@ for b in $(echo $binaries); do
|
||||
cp -a "$l" "$tmpdir/usr/lib"
|
||||
fi
|
||||
else
|
||||
if [ ! -e "$tmpdir/usr/lib/$(readlink $l)" ]; then
|
||||
cp "$(readlink -f $l)" "$tmpdir/usr/lib"
|
||||
strip -s "$tmpdir/usr/lib/$(readlink $l)"
|
||||
if [ ! -e "$tmpdir/usr/lib/${l##*/}" ]; then
|
||||
cp "$l" "$tmpdir/usr/lib"
|
||||
strip -s "$tmpdir/usr/lib/${l##*/}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user