gen_configkernel: canonicalize path to kernel config
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Tue, 9 Aug 2011 14:22:32 +0000 (16:22 +0200)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Wed, 10 Aug 2011 08:11:41 +0000 (10:11 +0200)
gen_configkernel.sh

index 284f800bcbee0d181fcb9117d0c5d9e2dd9b2b88..faf18746f865c68628c35c92aa5877997a97c335 100755 (executable)
@@ -24,6 +24,7 @@ determine_config_file() {
        else
                gen_die 'Error: No kernel .config specified, or file not found!'
        fi
+    KERNEL_CONFIG="$(readlink -f "${KERNEL_CONFIG}")"
 }
 
 config_kernel() {