Fix two calls to set_config_with_override on CMD_KERNCACHE and some indentation weirdness

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@591 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Andrew Gaffney 17 years ago
parent 4cde424af9
commit 74ebf6cd74

@ -2,6 +2,10 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_determineargs.sh:
Fix two calls to set_config_with_override on CMD_KERNCACHE and some
indentation weirdness
04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks

@ -1,9 +1,9 @@
#!/bin/bash
get_KV() {
if [ "${CMD_NO_KERNEL_SOURCES}" = '1' -a -e "${CMD_KERNCACHE}" ]
if [ "${NO_KERNEL_SOURCES}" = '1' -a -e "${KERNCACHE}" ]
then
/bin/tar -xj -C ${TEMP} -f ${CMD_KERNCACHE} kerncache.config
/bin/tar -xj -C ${TEMP} -f ${KERNCACHE} kerncache.config
if [ -e ${TEMP}/kerncache.config ]
then
KERN_24=0
@ -72,7 +72,6 @@ determine_real_args() {
set_config_with_override 2 DEBUGFILE CMD_DEBUGFILE
set_config_with_override 2 KERNEL_DIR CMD_KERNEL_DIR "${DEFAULT_KERNEL_SOURCE}"
set_config_with_override 1 NO_KERNEL_SOURCES CMD_NO_KERNEL_SOURCES
set_config_with_override 2 KERNCACHE CMD_KERNCACHE
set_config_with_override 2 KNAME CMD_KERNNAME "genkernel"
set_config_with_override 2 MAKEOPTS CMD_MAKEOPTS "$DEFAULT_MAKEOPTS"

Loading…
Cancel
Save