Skip to Content.
Sympa Menu

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

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 (a9e6727beadef0badfe5c554a428bdd1deb495d3)
  • Date: Sat, 27 Dec 2008 15:51:27 -0600

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

scripts/spellcaster.sh | 3 +++
1 files changed, 3 insertions(+)

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

scripts/spellcaster.sh: spell installed test

Test to see whether a spell was really installed before writing the
spell info to the listing file.

diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index 99dcb0d..24513f0 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -161,6 +161,7 @@ function prepare_target() {
# make a list of the caches to unpack for system
for spell in $(</rspells)
do
+ gaze installed $spell &> /dev/null &&
echo $spell-$(gaze -q installed $spell) >> /sys-list
done || exit 42
fi
@@ -177,6 +178,7 @@ BASE
# make a list of the caches to unpack for iso
for spell in $(</ispells)
do
+ gaze installed $spell &> /dev/null &&
echo $spell-$(gaze -q installed $spell) >> /iso-list
done || exit 42
fi
@@ -193,6 +195,7 @@ ISO
# make a list of the caches to unpack for iso
for spell in $(</ospells)
do
+ gaze installed $spell &> /dev/null &&
echo $spell-$(gaze -q installed $spell) >> /opt-list
done || exit 42




  • [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (a9e6727beadef0badfe5c554a428bdd1deb495d3), Justin Boffemmyer, 12/27/2008

Archive powered by MHonArc 2.6.24.

Top of Page