Re: [gentoo-portage-dev] [PATCH] bin/ebuild-helpers/portageq: fix bug #524964

2014-10-11 Thread Michał Górny
Dnia 2014-10-10, o godz. 21:50:53 Zac Medico zmed...@gentoo.org napisał(a): Since commit 0cc4c1ac21a2ea94cfb1f6ff4b461a9e349d47df, $PORTAGE_BIN_PATH/portageq no longer exists, which breaks bin/ebuild-helpers/portageq. Note that has_version and best_version rely on bin/ebuild-helpers/portageq

Re: [gentoo-portage-dev] [PATCH] bin/ebuild-helpers/portageq: fix bug #524964

2014-10-11 Thread Zac Medico
On 10/11/2014 12:17 AM, Michał Górny wrote: Dnia 2014-10-10, o godz. 21:50:53 Zac Medico zmed...@gentoo.org napisał(a): + +IFS=':' + +for path in ${PATH}; do This will trigger unwanted filename expansion. For example, PATH='/*/bin' will trigger '/usr/bin' rather than '/*/bin' :P.

[gentoo-portage-dev] [PATCH] bin/ebuild-helpers/portageq: fix bug #524964

2014-10-10 Thread Zac Medico
Since commit 0cc4c1ac21a2ea94cfb1f6ff4b461a9e349d47df, $PORTAGE_BIN_PATH/portageq no longer exists, which breaks bin/ebuild-helpers/portageq. Note that has_version and best_version rely on bin/ebuild-helpers/portageq if IPC is disabled, so breakage extends beyond ebuilds that call portageq