Spacing cleanups in gen_package.sh
authorAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 12:08:38 +0000 (12:08 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 12:08:38 +0000 (12:08 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@640 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_package.sh

index 8e0b65c9ca3359dc4fbf5604b687ac14a9910fe1..224a4a1bc5dd0ce33658dc19608aff3f956e3a65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh:
+  Spacing cleanups in gen_package.sh
+
   13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh, genkernel:
   Remove unsetting of ARCH for callback and change set_kernel_arch debug to
   use print_info
index d5b54a73ee647db385e8ec82fa6c00e6398d2f57..d0dfdc3a16ad57edd4a86dfa18525a5bd63dbc80 100644 (file)
@@ -140,17 +140,17 @@ gen_kerncache_is_valid()
        KERNCACHE_IS_VALID=0
        if [ "${NO_KERNEL_SOURCES}" = '1' ]
        then
-               
+
                BUILD_KERNEL=0
                # Can make this more secure ....
-               
+
                /bin/tar -xj -f ${KERNCACHE} -C ${TEMP}
                if [ -e ${TEMP}/config-${ARCH}-${KV} -a -e ${TEMP}/kernel-${ARCH}-${KV} ] 
-               then    
+               then 
                        print_info 1 'Valid kernel cache found; no sources will be used'
                        KERNCACHE_IS_VALID=1
                fi
-        else
+       else
                if [ -e "${KERNCACHE}" ] 
                then
                        KERNEL_CONFIG="/${KERNEL_DIR}/.config"
@@ -162,7 +162,7 @@ gen_kerncache_is_valid()
                        /bin/tar -xj -f ${KERNCACHE} -C ${TEMP}
                        if [ -e ${TEMP}/config-${ARCH}-${KV} -a -e ${KERNEL_CONFIG} ]
                        then
-       
+
                                test1=$(grep -v "^#" ${TEMP}/config-${ARCH}-${KV} | md5sum | cut -d " " -f 1)
                                test2=$(grep -v "^#" ${KERNEL_CONFIG} | md5sum | cut -d " " -f 1)
                                if [ "${test1}" == "${test2}" ]