]> git.saurik.com Git - apt.git/commit
don't use FindFile for external Dir::Bin commands
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 14 Jun 2016 12:32:14 +0000 (14:32 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Tue, 14 Jun 2016 12:32:14 +0000 (14:32 +0200)
commit90f2a7a0f66cfc259883490a5fcf40f7d0696cfe
treebfdc2070c4551238de31b2e6e6dd10f37e150f81
parentee385a36fe753272cadac0afd7f19b123a0c3d54
don't use FindFile for external Dir::Bin commands

We usually use absolute paths to specific the location of dpkg, apt-key
and the like, but there is nothing wrong with using just the command
name and instead let exec(3) make the lookup in PATH.

We had a wild mixture before, so opting for the more accepting option
out of the two seems about right especially as it makes no difference in
the default case as apt uses absolute paths.
apt-pkg/aptconfiguration.cc
apt-pkg/contrib/gpgv.cc
apt-pkg/deb/debsystem.cc