tazwok rev 459 4.3
tazwok, gen_package(): fix libs detection
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Mar 16 19:02:11 2011 +0100 (2011-03-16) |
parents | de05604eadb9 |
children | 4c0c67f36336 |
files | tazwok |
line diff
1.1 --- a/tazwok Wed Mar 16 19:00:43 2011 +0100 1.2 +++ b/tazwok Wed Mar 16 19:02:11 2011 +0100 1.3 @@ -1134,7 +1134,7 @@ 1.4 done | { cut -f 1 -d ' ' | tr -d '\t' | sort -u | \ 1.5 sed -e 's/^linux-gate.so.*$/SLIB/' -e 's~^/lib/ld-.*$~SLIB~' \ 1.6 -e '/^statically$/d' | tr '\n' ' '; }) 1.7 - libs=$(echo " $libs" | sed -r 's/( SLIB)+ / /g') 1.8 + [ "$libs" ] && libs=$(echo " $libs" | sed -r 's/( SLIB)+ / /g') 1.9 old_libs=$(grep -m1 ^$PACKAGE$'\t' $lib_db | cut -f 2) 1.10 if [ "$old_libs" ]; then 1.11 report step "Looking if reverse depends needs to be refreshed"