Re: Debian multiarch support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux