Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 7f9e18511336b1bbbdf914d376d524ba > files > 17

mkinitrd-6.0.63-17.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