[SM-Commit] GIT changes to devel-andrew cauldron by Andrew Stitt (9fe0a9577b59b056f218368eb9f34400d27b8491)

Andrew Stitt scm at sourcemage.org
Sun Dec 7 14:27:07 EST 2008


GIT changes to devel-andrew cauldron by Andrew Stitt <acedit at armory.com>:

Rebased ref, commits from common ancestor:
commit 9fe0a9577b59b056f218368eb9f34400d27b8491
Author: Andrew Stitt <acedit at armory.com>
Commit: Andrew Stitt <acedit at armory.com>

    new script: twelve-step-program.sh
    
    Script is based on twelve step recipe in
    http://wiki.sourcemage.org/Cauldron/ISO_Generation_Steps
    currently the script does not execute to completion successfully

diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index dda6c18..b55f2b3 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -112,9 +112,10 @@ then
 fi
 
 # Copy necessary files to the target and chroot
-$(grep -q linux "$CAULDRONDIR/{$rspells,$ospells}") && cp "$CAULDRONDIR/config.$TYPE" "$TARGET/etc/sorcery/local/kernel.config"
+$(grep -q linux "$CAULDRONDIR/$rspells" "$CAULDRONDIR/$ospells") && cp "$CAULDRONDIR/config.$TYPE" "$TARGET/etc/sorcery/local/kernel.config"
 [[ CAULDRON_CAST = y ]] && cp "$CAULDRONDIR/$rspells" "$TARGET"/
 cp "$CAULDRONDIR/$ospells" "$TARGET"/
+cp "$0" "$TARGET"/
 "$MYDIR/cauldronchr.sh" -d "$TARGET" /"$(basename $0)"
 
 # Clean up the target



More information about the SM-Commit mailing list