Am 16.04.2012 11:34, schrieb Jon Ander Hernandez:
> Hello,
> 
> Before considering my patch I should note that it has a bug, it should be:
> 
>  # Detect lib paths
>  [[ $libdir ]] || for libdir in /lib64 /lib; do
> -    [[ -d $libdir ]] && break
> +    [[ -d $libdir ]] && libdirs+=" $libdir" && break
>  done || {
>     dfatal 'No lib directory?!!!'
>     exit 1
>  }
> 
>  [[ $usrlibdir ]] || for usrlibdir in /usr/lib64 /usr/lib; do
> -    [[ -d $usrlibdir ]] && break
> +    [[ -d $usrlibdir ]] && libdirs+=" $usrlibdir" && break
>  done || dwarn 'No usr/lib directory!'
> 
> Now there is a space before $libdir and $usrlibdir, which avoids
> suffixing the libdirs value defined on a *.conf file with $libdir. I'm
> sorry.
> 
> Regards,
> 
> JonAn.

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to