Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib/rpm
File: libtooldeps.sh
#!/bin/sh
[0] Fix | Delete
[1] Fix | Delete
[ $# -ge 2 ] || {
[2] Fix | Delete
cat > /dev/null
[3] Fix | Delete
exit 0
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
case $1 in
[7] Fix | Delete
-P|--provides)
[8] Fix | Delete
shift
[9] Fix | Delete
RPM_BUILD_ROOT="$1"
[10] Fix | Delete
while read possible
[11] Fix | Delete
do
[12] Fix | Delete
case "$possible" in
[13] Fix | Delete
*.la)
[14] Fix | Delete
if grep -Eiq '^# Generated by (libtool|ltmain.sh)' "$possible" 2> /dev/null ; then
[15] Fix | Delete
possible="`echo ${possible} | sed -e s,${RPM_BUILD_ROOT}/,/,`"
[16] Fix | Delete
echo "libtool($possible)"
[17] Fix | Delete
fi
[18] Fix | Delete
;;
[19] Fix | Delete
esac
[20] Fix | Delete
done
[21] Fix | Delete
;;
[22] Fix | Delete
-R|--requires)
[23] Fix | Delete
while read possible ; do
[24] Fix | Delete
case "$possible" in
[25] Fix | Delete
*.la)
[26] Fix | Delete
for dep in `grep '^dependency_libs='"$possible" 2> /dev/null | \
[27] Fix | Delete
sed -e "s,^dependency_libs='\(.*\)',\1,g"`
[28] Fix | Delete
do
[29] Fix | Delete
case "$dep" in
[30] Fix | Delete
/*.la)
[31] Fix | Delete
echo "libtool($dep)"
[32] Fix | Delete
;;
[33] Fix | Delete
esac
[34] Fix | Delete
done
[35] Fix | Delete
;;
[36] Fix | Delete
esac
[37] Fix | Delete
done
[38] Fix | Delete
;;
[39] Fix | Delete
esac
[40] Fix | Delete
exit 0
[41] Fix | Delete
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function