From e122072a574b700429d7f4dd4097719b6b88dcc8 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 30 May 2003 00:23:48 +0000 Subject: [PATCH] added an error check that catches common case of 'make config' failing to get compile flags from kernel source. --- scripts/dep.linux | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2