temp move
authorBrad House <brad_mssw@gentoo.org>
Sat, 14 Feb 2004 18:39:34 +0000 (18:39 +0000)
committerBrad House <brad_mssw@gentoo.org>
Sat, 14 Feb 2004 18:39:34 +0000 (18:39 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@78 67a159dc-881f-0410-a524-ba9dfbe2cb84

genkernel

index 42b699782e799100f7789406ac2a79d3a79c868b..35b40e305b84c3dafaf7bfb0fb60d74563adf8e1 100755 (executable)
--- 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