tazpkg rev 792
tazpkg-find-depends: fix ELF test
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 29 14:47:11 2015 +0200 (2015-04-29) |
parents | 27c791cae919 |
children | bc81b98ec7ab |
files | modules/tazpkg-find-depends po/fr.po |
line diff
1.1 --- a/modules/tazpkg-find-depends Tue Apr 28 18:10:22 2015 +0300 1.2 +++ b/modules/tazpkg-find-depends Wed Apr 29 14:47:11 2015 +0200 1.3 @@ -11,7 +11,7 @@ 1.4 1.5 is_elf() 1.6 { 1.7 - [ `dd if=$1 bs=1 skip=1 count=3 2>/dev/null` == 'ELF' ] 1.8 + [ "$(dd if="$1" bs=1 skip=1 count=3 2>/dev/null)" == "ELF" ] 1.9 } 1.10 1.11 1.12 @@ -19,7 +19,7 @@ 1.13 1.14 ldd() 1.15 { 1.16 - LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $1 2>/dev/null 1.17 + LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so "$1" 2>/dev/null 1.18 } 1.19 1.20 1.21 @@ -40,12 +40,12 @@ 1.22 libs_found="" 1.23 find ${1:-$TMP_DIR/$file/fs} -type f | \ 1.24 while read chkfile ; do 1.25 - is_elf $chkfile || continue 1.26 + is_elf "$chkfile" || continue 1.27 case "$chkfile" in 1.28 *.o|*.ko|*.ko.gz) continue;; 1.29 esac 1.30 1.31 - for lib in $(ldd $chkfile | sed '/=>/!d;s/ =>.*//') ; do 1.32 + for lib in $(ldd "$chkfile" | sed '/=>/!d;s/ =>.*//') ; do 1.33 case " $libs_found " in 1.34 *\ $lib\ *) continue 1.35 esac
2.1 --- a/po/fr.po Tue Apr 28 18:10:22 2015 +0300 2.2 +++ b/po/fr.po Wed Apr 29 14:47:11 2015 +0200 2.3 @@ -1265,6 +1265,9 @@ 2.4 msgid "Toggle all" 2.5 msgstr "Tout (dé)séléctionner" 2.6 2.7 +msgid "Web search tool" 2.8 +msgstr "Recherche sur Internet" 2.9 + 2.10 #: tazpanel/pkgs.cgi:170 2.11 msgid "Search" 2.12 msgstr "Rechercher"