Fix bug 97700. Add additional check for kernel source directory earlier

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@248 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent 823faee86d
commit 337696ff03

@ -73,6 +73,14 @@ determine_real_args() {
else
KERNEL_DIR=${DEFAULT_KERNEL_SOURCE}
fi
if [ "${CMD_NO_KERNEL_SOURCES}" != "1" ]
then
if [ ! -d ${KERNEL_DIR} ]
then
gen_die "kernel source directory \"${KERNEL_DIR}\" was not found!"
fi
fi
if [ "${CMD_KERNCACHE}" != "" ]
then

Loading…
Cancel
Save