* do not use /usr/bin/env
@ 2009-09-01 3:21 Marco d'Itri
2009-09-01 10:07 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Marco d'Itri @ 2009-09-01 3:21 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 119 bytes --]
The C version of path_id does not look at the environment anymore, so
there is no reason to empty it.
--
ciao,
Marco
[-- Attachment #2: path_id_no_env --]
[-- Type: text/plain, Size: 595 bytes --]
--- a/rules/rules.d/78-sound-card.rules
+++ b/rules/rules.d/78-sound-card.rules
@@ -51,7 +51,7 @@ LABEL="skip_pci"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", ENV{ID_ID}="$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", ENV{ID_ID}="$env{ID_BUS}-$env{ID_SERIAL}"
-ENV{ID_PATH}=="", IMPORT{program}="/usr/bin/env -i /lib/udev/path_id %p/controlC%n"
+ENV{ID_PATH}=="", IMPORT{program}="path_id %p/controlC%n"
# The values used here for $SOUND_FORM_FACTOR and $SOUND_CLASS should be kept
# in sync with those defined for PulseAudio's src/pulse/proplist.h
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: do not use /usr/bin/env
2009-09-01 3:21 do not use /usr/bin/env Marco d'Itri
@ 2009-09-01 10:07 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2009-09-01 10:07 UTC (permalink / raw)
To: linux-hotplug
On Tue, Sep 1, 2009 at 05:21, Marco d'Itri<md@linux.it> wrote:
> The C version of path_id does not look at the environment anymore, so
> there is no reason to empty it.
Applied.
Thanks,
Kay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-01 10:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 3:21 do not use /usr/bin/env Marco d'Itri
2009-09-01 10:07 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).