Package: fakechroot
Version: 2.16-1
Severity: normal
Tags: patch
Hi,
ldd.fakechroot works fine standalone but I mostly use it in
FAKECHROOT_CMD_SUBST as ldd replacement.
When being used like that it does not check whether FAKECHROOT_BASE is
set and adjusts the pathname of its arguments accordingly.
Since it is probably most often used like that, it would be desirable
that it does. For now I'm using ldd.fakechroot with the following
changes to create my desired effect:
--- /usr/bin/ldd.fakechroot.bak 2012-03-15 17:26:56.446206891 +0100
+++ /usr/bin/ldd.fakechroot 2012-03-15 17:25:00.286206837 +0100
@@ -159,6 +159,8 @@
%Libs = ();
$Dynamic = 0;
+ $file=$ENV{FAKECHROOT_BASE}/$file;
+
if (@args > 1) {
print "$file:\n";
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]