Package: axyl-lucene Version: 2.2.0 Severity: normal Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu hardy ubuntu-patch
axyl-lucene fails to configure in systems with /bin/sh linked to /bin/dash due to bashisms in install/install-lucene.sh. See https://launchpad.net/bugs/222000 for more details. In Ubuntu, we've applied the attached patch to achieve the following: * install/install-lucene.sh: - Fix bashisms which caused errors in configure phase (LP: #222000). Even if Debian is not affected (not for now, it will when moving to /bin/dash), we thought you might be interested in doing the same. -- System Information: Debian Release: lenny/sid APT prefers intrepid APT policy: (500, 'intrepid') Architecture: i386 (i686) Kernel: Linux 2.6.24-16-generic (SMP w/1 CPU core) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru axyl-lucene-2.2.0/install/install-lucene.sh axyl-lucene-2.2.0ubuntu1/install/install-lucene.sh --- axyl-lucene-2.2.0/install/install-lucene.sh 2007-07-10 23:43:59.000000000 +0200 +++ axyl-lucene-2.2.0ubuntu1/install/install-lucene.sh 2008-06-17 13:15:26.000000000 +0200 @@ -59,7 +59,7 @@ # Makes the Axyl Lucene data area. If the area already exists then # existing index and log data will be preserved, but the configuration # files will be re-asserted. The intent is to establish correctness.. -function make_lucene_area() { +make_lucene_area() { # Create dirs and initialise contents.. mkthisdir ${AXYL_DATA}/lucene mkthisdir ${AXYL_DATA}/lucene/servers