git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@387 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 19 years ago
parent 7d229e11a3
commit e5da5c9721

@ -377,7 +377,9 @@ parse_cmdline() {
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)

@ -5,6 +5,7 @@ PATH="/bin:/usr/bin:/sbin:/usr/sbin"
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() {
@ -25,8 +26,6 @@ source ${GK_BIN}/gen_moddeps.sh || gen_die "Could not read ${GK_BIN}/gen_moddeps
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

Loading…
Cancel
Save