[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B5F0452.1080306@suse.cz>
Date: Tue, 26 Jan 2010 16:03:46 +0100
From: Michal Marek <mmarek@...e.cz>
To: Américo Wang <xiyou.wangcong@...il.com>,
Glenn Sommer <glemsom@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Use full path to dnsdomainname and domainname in scripts/mkcompile_h
On 26.1.2010 04:55, Américo Wang wrote:
> On Wed, Jan 20, 2010 at 11:06 PM, Glenn Sommer <glemsom@...il.com> wrote:
>> Alternatively, if we want it to be more flexible(and allow the above)
>> - we should do something like:
>>
>> domainname_executable=`which domainname`
>> if [ ! -z "$domainname_executable" ] && [ -x "$domainname_executable" ]; then
>>
(or 'if command -v domainname >/dev/null 2>&1; then domainname ...')
> Yeah, this seems better for me.
Me too. Glenn, could you send a complete patch doing this? I'll add it
to the kbuild tree then.
Thanks,
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists