New commits:
commit 2b64a42737a11eeeb114bfde524a15d5eb7b3f76
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>
cauldron: fixed SPELL_CACHE for EXTENSION
Added code to retrieve the EXTENSION as defined in
/etc/sorcery/local/config for the spell cache files.
diff --git a/src/cauldron b/src/cauldron
index adf3dec..fdcaabd 100644
--- a/src/cauldron
+++ b/src/cauldron
@@ -66,10 +66,13 @@ function cauldron_create_base_toolchain() {
local VERSION
local SPELL_CACHE
local HOST_TRIPLE
+ local CACHE_EXTENSION
# set the value for HOST_TRIPLE
cauldron_get_host_triple
HOST_TRIPLE="$?"
+ CACHE_EXTENSION=$(grep "EXTENSION=" $HOST_SORCERY_CONFIG | \
+ cut -d = -f 2)
# grab the list of spells needed as the base tool-chain which will be
# used to create the cross-compile tool-chain
@@ -80,7 +83,7 @@ function cauldron_create_base_toolchain() {
VERSION=$(grep "^${SPELL}" ${HOST_PACKAGES} | cut -d : -f 4)
# set SPELL_CACHE as shorthand for SPELL-VERSION-HOST_TRIPLE.tar.bz2
- SPELL_CACHE="${SPELL}-${VERSION}-${HOST_TRIPLE}.tar.bz2"
+ SPELL_CACHE="${SPELL}-${VERSION}-${HOST_TRIPLE}.tar${CACHE_EXTENSION}"
# check to see if there is already a cache file from sorcery
# this check could be based on spell-{names,versions} reported by
[SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (2b64a42737a11eeeb114bfde524a15d5eb7b3f76),
Justin Boffemmyer, 01/14/2008