Add another sed to add the datestamp to the ISO name
svn path=/trunk/; revision=580
This commit is contained in:
parent
5d28769332
commit
a4e4d1ed17
|
@ -2,6 +2,9 @@
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||||
|
Add another sed to add the datestamp to the ISO name
|
||||||
|
|
||||||
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org>
|
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org>
|
||||||
catalyst-auto-amd64.conf:
|
catalyst-auto-amd64.conf:
|
||||||
Change sample config to point to new releases/weekly dir in checkout
|
Change sample config to point to new releases/weekly dir in checkout
|
||||||
|
|
|
@ -141,6 +141,7 @@ for i in $(find -name '*.spec'); do
|
||||||
if [ "${old_version_stamp}" = "${old_source_subpath}" ]; then
|
if [ "${old_version_stamp}" = "${old_source_subpath}" ]; then
|
||||||
sed -i 's|^source_subpath: \(.\+-\).\+$|source_subpath: \1'${DATESTAMP}'|' ${i}
|
sed -i 's|^source_subpath: \(.\+-\).\+$|source_subpath: \1'${DATESTAMP}'|' ${i}
|
||||||
fi
|
fi
|
||||||
|
sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${DATESTAMP}'|' ${i}
|
||||||
|
|
||||||
kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})
|
kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})
|
||||||
if [ -n "${kconfig_line}" ]; then
|
if [ -n "${kconfig_line}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue