Merge tag 'rtc-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-2.6-block.git] / scripts / dtc / dtx_diff
index 959ab2646d3825738303ca5016ffe89a665f7621..ec47f95991a3aeccd359e2babe32dd795bd8a1f6 100755 (executable)
@@ -266,7 +266,7 @@ DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc"
 
 if [ ! -x ${DTC} ] ; then
        __DTC="dtc"
-       if grep -q "^CONFIG_DTC=y" ${__KBUILD_OUTPUT}/.config ; then
+       if grep -q "^CONFIG_DTC=y" ${__KBUILD_OUTPUT}/.config 2>/dev/null; then
                make_command='
          make scripts'
        else