err, backed up wrong file :)
authorBrad House <brad_mssw@gentoo.org>
Sat, 7 Feb 2004 14:47:11 +0000 (14:47 +0000)
committerBrad House <brad_mssw@gentoo.org>
Sat, 7 Feb 2004 14:47:11 +0000 (14:47 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@68 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_configkernel.sh

index 69307ef30e1153e110c3cd318c4accbc4f78ab0e..a65c99766df9c7364bcfe96964c4612f83434a1e 100644 (file)
@@ -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