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"
|
cp -a "$l" "$tmpdir/usr/lib"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ ! -e "$tmpdir/usr/lib/$(readlink $l)" ]; then
|
if [ ! -e "$tmpdir/usr/lib/${l##*/}" ]; then
|
||||||
cp "$(readlink -f $l)" "$tmpdir/usr/lib"
|
cp "$l" "$tmpdir/usr/lib"
|
||||||
strip -s "$tmpdir/usr/lib/$(readlink $l)"
|
strip -s "$tmpdir/usr/lib/${l##*/}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user