git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@78
67a159dc-881f-0410-a524-
ba9dfbe2cb84
# Genkernel v3
GK_V="3.0.1_beta12"
-TEMP="/tmp"
+TEMP="/var/tmp/genkernel"
small_die() {
echo $1
source ${ARCH_CONFIG} || gen_die "could not read ${ARCH_CONFIG}"
source ${GK_SHARE}/${ARCH}/modules_load || gen_die "could not read ${GK_SHARE}/${ARCH}/modules_load"
+[ ! -f "${TEMP}" ] && mkdir -p "${TEMP}"
+
# Based on genkernel.conf, arch-specific configs, and commandline options,
# get the real args for use.
determine_real_args