Fix typo with multiple kernel code
svn path=/trunk/; revision=623
This commit is contained in:
parent
cccf5459c3
commit
928ea3e580
|
@ -2,6 +2,9 @@
|
||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
13 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||||
|
Fix typo with multiple kernel code
|
||||||
|
|
||||||
13 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
13 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||||
Add --test flag
|
Add --test flag
|
||||||
|
|
||||||
|
|
|
@ -166,9 +166,9 @@ for i in $(find -name '*.spec'); do
|
||||||
|
|
||||||
sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${new_version_stamp}'|' ${i}
|
sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${new_version_stamp}'|' ${i}
|
||||||
|
|
||||||
kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})
|
kconfig_lines=$(grep '^boot/kernel/[^/]\+/config:' ${i})
|
||||||
if [ -n "${kconfig_line}" ]; then
|
if [ -n "${kconfig_lines}" ]; then
|
||||||
echo "${kconfig_file}" | while read line; do
|
echo "${kconfig_lines}" | while read line; do
|
||||||
key=$(echo "${line}" | cut -d: -f1)
|
key=$(echo "${line}" | cut -d: -f1)
|
||||||
filename=$(basename $(echo "${line}" | cut -d: -f2))
|
filename=$(basename $(echo "${line}" | cut -d: -f2))
|
||||||
sed -i "s|^${key}:.*\$|${key}: ${TMPDIR}/kconfig/${filename}|" ${i}
|
sed -i "s|^${key}:.*\$|${key}: ${TMPDIR}/kconfig/${filename}|" ${i}
|
||||||
|
|
Loading…
Reference in a new issue