err, backed up wrong file :)

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@68 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Brad House 21 years ago
parent c2786eb02f
commit 1024897999

@ -42,8 +42,8 @@ config_kernel() {
if isTrue ${CLEAN}
then
print_info 1 "kernel: using config from ${KERNEL_CONFIG} -- prev backed up to .config.bak"
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die "could not copy config file"
cp "${KERNEL_DIR}/.config" "${KERNEL_DIR}/.config.bak" > /dev/null 2>&1
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die "could not copy config file"
print_info 1 "kernel: running oldconfig"
yes "" | compile_generic "oldconfig" kernel

Loading…
Cancel
Save