The following commit has been merged in the ubuntu-oneiric-3.4 branch:
commit f4935132229d583866ddef15ebf8171097149957
Author: Bjoern Michaelsen <[email protected]>
Date:   Tue Jul 19 19:03:11 2011 +0200

    remove superfluous multiarch hackery in get_libebook_dep

diff --git a/scripts/get_libebook_dep.sh b/scripts/get_libebook_dep.sh
index 2ec5afa..5dd890d 100755
--- a/scripts/get_libebook_dep.sh
+++ b/scripts/get_libebook_dep.sh
@@ -3,16 +3,12 @@
 libs=`grep -o libebook.*\.so.[0-9]* 
build/connectivity/source/drivers/evoab2/EApi.cxx`
 for l in $libs; do
        echo "Testing candidate library $l" >&2
-       libdir=/usr/lib
-       if [ `dpkg-architecture -qDEB_BUILD_ARCH` = "amd64" ]; then
-               libdir=/usr/lib`dpkg-architecture -qDEB_BUILD_ARCH_BITS`
-       fi
-       if [ -e "$libdir/$l" ]; then
+       if [ -e "/usr/lib/$l" ]; then
                # sanity check: do the libs match with what we would get
                # for our libebook version if we followed the .so symlink?
-               l1=`readlink $libdir/$l`
+               l1=`readlink /usr/lib/$l`
                l2_tmp=`echo $l | grep -o libebook.*\.so`
-               l2=`readlink $libdir/$l2_tmp`
+               l2=`readlink /usr/lib/$l2_tmp`
                if [ "$l1" = "$l2" ]; then
                        dep=`dpkg -S $l1 | cut -d: -f1`
                        # exit on success, we want the first (highest matching) 
API version

-- 
LibreOffice packaging repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to