sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (1f0fd473bd1363f1e7dd111269dbb024e78ea849)
- 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 (1f0fd473bd1363f1e7dd111269dbb024e78ea849)
- Date: Fri, 9 Jan 2009 20:49:09 -0600
GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:
scripts/spellcaster.sh | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
New commits:
commit 1f0fd473bd1363f1e7dd111269dbb024e78ea849
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
scripts/spellcaster.sh: absolute path for sorcery
Ensure that the sorcery install gets an absolute path to install to.
diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index 3c4d0a9..c3d2761 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -378,11 +378,17 @@ function setup_sys() {
wget http://download.sourcemage.org/sorcery/$SORCERY
)
- # unpack and install sorcery into SYSDIR
+ # unpack sorcery into TARGET
msg "Installing sorcery in SYSDIR"
tar jxf "$SPOOL"/$SORCERY -C "$TARGET/usr/src"
+
+ # ensure absolute path for install diR
+ local installdir="$SYSDIR"
+ [[ $installdir != /* ]] && installdir="$PWD/$SYSDIR"
+
+ # install sorcery into SYSDIR
pushd "$SORCERYDIR" &> /dev/null
- ./install "$SYSDIR"
+ ./install "$installdir"
popd &> /dev/null
# install the stable grimoire used for build into SYSDIR
- [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (1f0fd473bd1363f1e7dd111269dbb024e78ea849), Justin Boffemmyer, 01/09/2009
Archive powered by MHonArc 2.6.24.