From: Brad House Date: Sat, 14 Feb 2004 18:39:34 +0000 (+0000) Subject: temp move X-Git-Tag: v3.4.10.902~674 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf4c80a033be2fc8d872cdcd31edfb4f12b5526e;p=genkernel.git temp move git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@78 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/genkernel b/genkernel index 42b6997..35b40e3 100755 --- a/genkernel +++ b/genkernel @@ -2,7 +2,7 @@ # Genkernel v3 GK_V="3.0.1_beta12" -TEMP="/tmp" +TEMP="/var/tmp/genkernel" small_die() { echo $1 @@ -43,6 +43,8 @@ get_official_arch 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