Package: libeatmydata / 82-6

multiarch-issue.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: fix a issue with multi arch (a shell script refers to a library
 with a fixed position)
Author: Mattia Rizzolo <mattia@mapreri.org>
Forwarded: no
Last-Update: 2014-08-29

--- a/eatmydata.in
+++ b/eatmydata.in
@@ -15,7 +15,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-shlib="@libexecdir@/eatmydata.sh"
+export `dpkg-architecture|grep DEB_BUILD_MULTIARCH`
+
+shlib="/usr/lib/$DEB_BUILD_MULTIARCH/eatmydata.sh"
 if [ -f "$shlib" ]; then
     . "$shlib"
 else