Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (30e978ac5809180aea9936649f00312675ccd047)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (30e978ac5809180aea9936649f00312675ccd047)
  • Date: Sun, 23 Nov 2008 13:05:02 -0600

GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

scripts/mkrelease.sh | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 30e978ac5809180aea9936649f00312675ccd047
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

scripts/mkrelease.sh: commented script functions

Added comments to explain what steps the script is taking to produce the
release.

diff --git a/scripts/mkrelease.sh b/scripts/mkrelease.sh
index e536a72..a8c6658 100755
--- a/scripts/mkrelease.sh
+++ b/scripts/mkrelease.sh
@@ -57,14 +57,19 @@ fi

[[ $# -lt 2 ]] && usage

+# Get the grimoire version used to generate all the spells in the ISO.
GRIMOIRE_VER=$(< "$TARGET"/var/lib/sorcery/codex/stable/VERSION)

+# Replace all ISO_VERSION placeholders with the ISO version passed on the
+# commandline.
for file in $(grep -qr '@ISO_VERSION@'
$TARGET/{etc,isolinux,usr/share/doc/smgl.install}/*)
do
sed -i "s/@ISO_VERSION@/$VERSION/" "$file"
done

- sed -i "s/@GRIMOIRE_VERSION@/$GRIMOIRE_VER/" "$TARGET"/isolinux/isolinux.msg
+# Replace the GRIMOIRE_VERSION placeholder (currently only in isolinux.msg).
+sed -i "s/@GRIMOIRE_VERSION@/$GRIMOIRE_VER/" "$TARGET"/isolinux/isolinux.msg

- $(dirname $0)/mkiso.sh $ISOCHOWN -kz "$TARGET" "smgl-$VERSION"
+# Generate the release ISO. Currently we force KEEP and COMPRESSION.
+$(dirname $0)/mkiso.sh $ISOCHOWN -kz "$TARGET" "smgl-$VERSION"




  • [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (30e978ac5809180aea9936649f00312675ccd047), Justin Boffemmyer, 11/23/2008

Archive powered by MHonArc 2.6.24.

Top of Page