Messages in this thread | | | Date | Tue, 26 Jan 2010 16:03:46 +0100 | From | Michal Marek <> | 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@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |