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

@ -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