git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@387
67a159dc-881f-0410-a524-
ba9dfbe2cb84
print_info 2 "CMD_INITRAMFS: $CMD_INITRAMFS"
;;
--tempdir=*)
- TEMP=`parse_opt "$*"`
+ TMPDIR=`parse_opt "$*"`
+ TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
+ print_info 2 "TMPDIR: $TMPDIR"
print_info 2 "TEMP: $TEMP"
;;
--postclear)
GK_V='3.3.11e'
TMPDIR='/var/tmp/genkernel'
+TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.
small_die() {
source ${GK_BIN}/gen_package.sh || gen_die "Could not read ${GK_BIN}/gen_package.sh"
source ${GK_BIN}/gen_bootloader.sh || gen_die "Could not read ${GK_BIN}/gen_bootloader.sh"
-TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
-
trap_cleanup(){
# Call exit code of 1 for failure
cleanup