Add another sed to add the datestamp to the ISO name

svn path=/trunk/; revision=580
This commit is contained in:
Andrew Gaffney 2008-09-28 19:47:57 +00:00
parent 5d28769332
commit a4e4d1ed17
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $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>
catalyst-auto-amd64.conf:
Change sample config to point to new releases/weekly dir in checkout

View file

@ -141,6 +141,7 @@ for i in $(find -name '*.spec'); do
if [ "${old_version_stamp}" = "${old_source_subpath}" ]; then
sed -i 's|^source_subpath: \(.\+-\).\+$|source_subpath: \1'${DATESTAMP}'|' ${i}
fi
sed -i '/^livecd\/iso/s|'${old_version_stamp}'|'${DATESTAMP}'|' ${i}
kconfig_line=$(grep '^boot/kernel/[^/]\+/config:' ${i})
if [ -n "${kconfig_line}" ]; then