# HG changeset patch # User Pascal Bellard # Date 1430311631 -7200 # Node ID 853e31a1523de0b4d143a03e961410892661e476 # Parent 27c791cae91922973f3ffb5d668679c27adba8ce tazpkg-find-depends: fix ELF test diff -r 27c791cae919 -r 853e31a1523d modules/tazpkg-find-depends --- a/modules/tazpkg-find-depends Tue Apr 28 18:10:22 2015 +0300 +++ b/modules/tazpkg-find-depends Wed Apr 29 14:47:11 2015 +0200 @@ -11,7 +11,7 @@ is_elf() { - [ `dd if=$1 bs=1 skip=1 count=3 2>/dev/null` == 'ELF' ] + [ "$(dd if="$1" bs=1 skip=1 count=3 2>/dev/null)" == "ELF" ] } @@ -19,7 +19,7 @@ ldd() { - LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $1 2>/dev/null + LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so "$1" 2>/dev/null } @@ -40,12 +40,12 @@ libs_found="" find ${1:-$TMP_DIR/$file/fs} -type f | \ while read chkfile ; do - is_elf $chkfile || continue + is_elf "$chkfile" || continue case "$chkfile" in *.o|*.ko|*.ko.gz) continue;; esac - for lib in $(ldd $chkfile | sed '/=>/!d;s/ =>.*//') ; do + for lib in $(ldd "$chkfile" | sed '/=>/!d;s/ =>.*//') ; do case " $libs_found " in *\ $lib\ *) continue esac diff -r 27c791cae919 -r 853e31a1523d po/fr.po --- a/po/fr.po Tue Apr 28 18:10:22 2015 +0300 +++ b/po/fr.po Wed Apr 29 14:47:11 2015 +0200 @@ -1265,6 +1265,9 @@ msgid "Toggle all" msgstr "Tout (dé)séléctionner" +msgid "Web search tool" +msgstr "Recherche sur Internet" + #: tazpanel/pkgs.cgi:170 msgid "Search" msgstr "Rechercher"