projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823faee
)
Fix bug 97700. Add additional check for kernel source directory earlier
author
Eric Edgar
<rocket@gentoo.org>
Mon, 11 Jul 2005 18:30:50 +0000
(18:30 +0000)
committer
Eric Edgar
<rocket@gentoo.org>
Mon, 11 Jul 2005 18:30:50 +0000
(18:30 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@248
67a159dc
-881f-0410-a524-
ba9dfbe2cb84
gen_determineargs.sh
patch
|
blob
|
history
diff --git
a/gen_determineargs.sh
b/gen_determineargs.sh
index 7a968297c69024b0166b928bc82134342104299c..f6ce9248db603748fbfba3197f746deb2dbd723e 100644
(file)
--- a/
gen_determineargs.sh
+++ b/
gen_determineargs.sh
@@
-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