File: multiarch-issue.patch

package info (click to toggle)
libeatmydata 82-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,004 kB
  • ctags: 265
  • sloc: sh: 11,688; ansic: 651; makefile: 105
file content (19 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (2)
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