summaryrefslogtreecommitdiff
path: root/openembedded/packages/fakeroot/files/fix-prefix.patch
blob: 3884aca01c41b798519a900bcc58d6a110a0a473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- fakeroot-1.2.13/scripts/fakeroot.in~fix-prefix
+++ fakeroot-1.2.13/scripts/fakeroot.in
@@ -15,8 +15,8 @@
 }
 
 # strip /bin/fakeroot to find install prefix
-PREFIX=@prefix@
-BINDIR=@bindir@
+BINDIR=`dirname $0`
+PREFIX=`dirname ${BINDIR}`
     
 LIB=lib@fakeroot_transformed@.so.0
 PATHS=@libdir@:${PREFIX}/lib64/libfakeroot:${PREFIX}/lib32/libfakeroot