Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > bd83eed6316a8b1c5c9b7e319c5581d0 > files > 21

mkinitrd-6.0.63-1mnb2.src.rpm

diff -p -up mkinitrd-6.0.62/functions.libdeps mkinitrd-6.0.62/functions
--- mkinitrd-6.0.62/functions.libdeps	2008-08-19 19:42:44.000000000 +0200
+++ mkinitrd-6.0.62/functions	2008-08-20 15:14:27.000000000 +0200
@@ -129,7 +129,7 @@ EOF
         let n++
     done
 
-    echo "${FILES[@]}"
+    DEPS="${FILES[@]}"
 }
 
 IF_indent_chars=""
@@ -204,7 +204,8 @@ function inst() {
             vecho "${indent}$file -> $root$dest"
             cp -aL "$file" "$root$dest"
 
-            local DEPS=$(get_dso_deps "$file")
+            local DEPS
+            get_dso_deps "$file"
             if [ -n "$DEPS" ]; then
                 IF_dynamic="yes"
             fi