scripts/mkcompile_h: don't test for hardcoded paths
authorMichal Marek <mmarek@suse.cz>
Wed, 27 Jan 2010 08:46:23 +0000 (09:46 +0100)
committerMichal Marek <mmarek@suse.cz>
Tue, 2 Feb 2010 13:33:56 +0000 (14:33 +0100)
commitd4987bd7ae8401bd88896a6f76dc7af31fe55732
treeb34dcdc8e13b62c1e48ab18832ad3ed96a6f2d9f
parente66f25d7d1be19e177cf55126a40799757efae89
scripts/mkcompile_h: don't test for hardcoded paths

Don't test for /bin/{dnsdomainname,domainname}, simply try to execute
the command and check if it returned something.

Reported-by: Glenn Sommer <glemsom@gmail.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Tested-by: Glenn Sommer <glemsom@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/mkcompile_h