sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (bef9fae0d2cebad41240f06362559108ded65e9d)
- From: Justin Boffemmyer <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (bef9fae0d2cebad41240f06362559108ded65e9d)
- Date: Sun, 4 Jan 2009 08:18:52 -0600
GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:
scripts/mkrelease.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit bef9fae0d2cebad41240f06362559108ded65e9d
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
scripts/mkrelease.sh: split VERSION for sed
Running "0.27-0" via variable through sed caused errors. For some
reason, it didn't like the "-". Therefore, the version information was
split into two variables using cut, and then processed in sed as
$half1-$half2 instead.
diff --git a/scripts/mkrelease.sh b/scripts/mkrelease.sh
index 6f93247..1671c29 100755
--- a/scripts/mkrelease.sh
+++ b/scripts/mkrelease.sh
@@ -74,7 +74,9 @@ do
done
# Replace the GRIMOIRE_VERSION placeholder (currently only in isolinux.msg).
-sed -i "s/@GRIMOIRE_VERSION@/$GRIMOIRE_VER/" "$TARGET"/isolinux/isolinux.msg
+half1=$(echo $GRIMOIRE_VER | cut -d- -f1)
+half2=$(echo $GRIMOIRE_VER | cut -d- -f2)
+sed -i "s/@GRIMOIRE_VERSION@/${half1}-${half2}/"
"$TARGET"/isolinux/isolinux.msg
# Generate the release ISO. Currently we force KEEP and COMPRESSION.
if [[ -n $ISOCHOWN ]]
- [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (bef9fae0d2cebad41240f06362559108ded65e9d), Justin Boffemmyer, 01/04/2009
Archive powered by MHonArc 2.6.24.