From: Frank Mori Hess Date: Fri, 30 May 2003 00:23:48 +0000 (+0000) Subject: added an error check that catches common case of 'make config' failing to X-Git-Tag: r0_7_67x~17 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e122072a574b700429d7f4dd4097719b6b88dcc8;p=comedi.git added an error check that catches common case of 'make config' failing to get compile flags from kernel source. --- diff --git a/scripts/dep.linux b/scripts/dep.linux index 66a29d13..95d261c8 100755 --- a/scripts/dep.linux +++ b/scripts/dep.linux @@ -81,6 +81,10 @@ topdir=$(pwd) cd ${topdir}/scripts/linux_flags make LINUXDIR=${LINUXDIR} +if [ $? != 0 ]; then + echo "make in linux source directory failed, do you have write permission?" + exit $? +fi cd ${topdir} mv scripts/linux_flags/flags .buildvars