From 928ea3e5807e0f911904a790580bf63a75e35ed1 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 13 Mar 2009 12:51:55 +0000 Subject: Fix typo with multiple kernel code svn path=/trunk/; revision=623 --- tools/ChangeLog | 3 +++ tools/catalyst-auto | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/ChangeLog b/tools/ChangeLog index a04f2e90..df0c4e65 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 13 Mar 2009; Andrew Gaffney catalyst-auto: + Fix typo with multiple kernel code + 13 Mar 2009; Andrew Gaffney catalyst-auto: Add --test flag diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 03694545..6834c49b 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -166,9 +166,9 @@ for i in $(find -name '*.spec'); do sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${new_version_stamp}'|' ${i} - kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i}) - if [ -n "${kconfig_line}" ]; then - echo "${kconfig_file}" | while read line; do + kconfig_lines=$(grep '^boot/kernel/[^/]\+/config:' ${i}) + if [ -n "${kconfig_lines}" ]; then + echo "${kconfig_lines}" | while read line; do key=$(echo "${line}" | cut -d: -f1) filename=$(basename $(echo "${line}" | cut -d: -f2)) sed -i "s|^${key}:.*\$|${key}: ${TMPDIR}/kconfig/${filename}|" ${i} -- cgit v1.2.3-65-gdbad