Skip to Content.
Sympa Menu

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

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 (94575e1d4b76ff538b5a182004e5e659edf1b197)
  • Date: Mon, 5 Jan 2009 12:10:44 -0600

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

iso/usr/share/smgl.install/smgl-kernel | 2 +-
iso/usr/share/smgl.install/smgl-spells | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 94575e1d4b76ff538b5a182004e5e659edf1b197
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

smgl.install/smgl-kernel: fix symlink

The symlink was pointing to a target that was prefixed with TARGET,
which doesn't exist in the installed system but only from the
perspective of the running ISO. This was fixed.

commit ede179775c2ba25d2e0292922c5fa362283683a3
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

smgl.install/smgl-spells: fix improper test

The test in toggle_choice was testing the var without '$', so it wasn't
getting the value, resulting in the test always failing.

diff --git a/iso/usr/share/smgl.install/smgl-kernel
b/iso/usr/share/smgl.install/smgl-kernel
index e71b0b2..d163fb6 100755
--- a/iso/usr/share/smgl.install/smgl-kernel
+++ b/iso/usr/share/smgl.install/smgl-kernel
@@ -38,7 +38,7 @@ do
read -n1 input
echo ""
case $input in
- "y" ) ln -sf "$TARGET"/boot/vmlinuz-$(uname -r) "$TARGET"/boot/vmlinuz
+ "y" ) ln -sf /boot/vmlinuz-$(uname -r) "$TARGET"/boot/vmlinuz
break
;;
"n" ) break
diff --git a/iso/usr/share/smgl.install/smgl-spells
b/iso/usr/share/smgl.install/smgl-spells
index a9b1b18..33a72a0 100755
--- a/iso/usr/share/smgl.install/smgl-spells
+++ b/iso/usr/share/smgl.install/smgl-spells
@@ -55,7 +55,7 @@ function toggle_choice {
choice=$((choice-1))
# if the choice was not previously selected, select it, otherwise
# deselect it (toggle)
- if [[ SELECTED[choice] == '*' ]]
+ if [[ ${SELECTED[choice]} == '*' ]]
then
SELECTED[choice]=
else



  • [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (94575e1d4b76ff538b5a182004e5e659edf1b197), Justin Boffemmyer, 01/05/2009

Archive powered by MHonArc 2.6.24.

Top of Page