diff -p -up mkinitrd-6.0.63/functions.fix-symlinks mkinitrd-6.0.63/functions --- mkinitrd-6.0.63/functions.fix-symlinks 2008-09-12 19:36:35.000000000 +0200 +++ mkinitrd-6.0.63/functions 2008-09-12 19:38:18.000000000 +0200 @@ -160,22 +160,7 @@ function inst() { vecho "${indent}$file -> $root$dest" ln -sf "$target" "$root$dest" - #inst "$target" "$root" - local BASE=`basename "$target"` - local LIBDIR=`echo "$file" | sed -e 's,\(\(.*\)/\)[^/]\+$,\1,'` - if [ "$LIBDIR" = "$BASE" ]; then - local LIBDIR=`echo "/$dest" | sed -e 's,\(\(.*\)/\)[^/]\+$,\1,'` - fi - - local TLIBDIR=`echo "$target" | sed -e 's,\(^/lib[^/]*\)/.*$,\1/,' \ - -e 's,\(\(.*\)/\)[^/]\+$,\1,'` - if [ "$TLIBDIR" = "$BASE" ]; then - local TLIBDIR=`echo "/$dest" | sed \ - -e 's,\(^/lib[^/]*\)/.*$,\1/,' \ - -e 's,\(\(.*\)/\)[^/]\+$,\1,'` - fi - - inst "$LIBDIR/$BASE" "$root" "$TLIBDIR/$BASE" + inst "$target" "$root" RET=$? IF_indent_chars=${old_indent_chars} return $RET