sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (ce292a35b21ebd4d46e7194eda8dc6d35fc2fbc1)
- 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 (ce292a35b21ebd4d46e7194eda8dc6d35fc2fbc1)
- Date: Thu, 20 Nov 2008 18:39:43 -0600
GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:
scripts/spellcaster.sh | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ce292a35b21ebd4d46e7194eda8dc6d35fc2fbc1
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>
scripts/spellcaster.sh: strip quotes from var
When reading in the value of the sorcery variable ARCHIVE, strip quotes
from it's argument if they are present.
diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index 43d5241..4f99a6f 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -66,7 +66,7 @@ ospells="ospells.$TYPE"
# check to make sure that the chroot has sorcery set to do caches
if [[ -e "$TARGET"/etc/sorcery/local/config ]]
then
- CONFIG_ARCHIVE=$(grep 'ARCHIVE=' "$TARGET"/etc/sorcery/local/config |
cut -d = -f 2)
+ CONFIG_ARCHIVE=$(grep 'ARCHIVE=' "$TARGET"/etc/sorcery/local/config |
cut -d = -f 2 | sed 's/"//')
if [[ -n $CONFIG_ARCHIVE && $CONFIG_ARCHIVE != "on" ]]
then
echo "Error! TARGET sorcery configured to not archive!" >&2
- [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (ce292a35b21ebd4d46e7194eda8dc6d35fc2fbc1), Justin Boffemmyer, 11/20/2008
Archive powered by MHonArc 2.6.24.