Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel sorcery by Andrew Stitt

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andrew Stitt <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel sorcery by Andrew Stitt
  • Date: Sun, 28 May 2006 16:10:56 -0500

GIT changes to devel sorcery by Andrew Stitt <astitt AT sourcemage.org>:

ChangeLog | 4 ++++
var/lib/sorcery/modules/libdepends | 5 +++--
2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 5bbff845c2c92fbdd7f3b1b78db17f05dbba8877
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>

workaround bash 3.0 brokenness

diff --git a/ChangeLog b/ChangeLog
index b2ceccc..5e25e86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
2006-05-28 Andrew Stitt <astitt AT sourcemage.org>
+ * libdepends: workaround bug in bash 3.0-16, syntax for
+ intialization of local arrays is broken.
+
+2006-05-28 Andrew Stitt <astitt AT sourcemage.org>
* gaze: add system-info command, bug 11864, patch supplied
by Andra?? Levstik. Additionally modified to print basesystem
depends and changed SMGL_COMPAT_ARCHS printing to be more robust.
diff --git a/var/lib/sorcery/modules/libdepends
b/var/lib/sorcery/modules/libdepends
index 7f55f1d..186d8ef 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -246,8 +246,9 @@ function run_other_sub_depends() {
SPELL=$sub_dependee
run_details
local NEW_SUB_DEPENDEES=""
- local NEW_DEPENDS=()
- local NEW_RUNTIME_DEPENDS=()
+ # afk 5-28-06: bash 3.0 breaks local foo=(), have to make this two
lines
+ local NEW_DEPENDS; NEW_DEPENDS=()
+ local NEW_RUNTIME_DEPENDS; NEW_RUNTIME_DEPENDS=()
process_sub_depends "$this_spell" "$sub_dependee" "$sub_depends" ||
return 1





Archive powered by MHonArc 2.6.24.

Top of Page