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

Justin Boffemmyer scm at sourcemage.org
Sun Nov 23 14:05:02 EST 2008


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"
 



More information about the SM-Commit mailing list