From 9a5c919351428ce87bcfd7200c5ce34decd18f3a Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 6 Dec 2010 19:00:42 +0100 Subject: until we have bash 4.2, import the new associative arrays in the global scope --- src/aif.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aif.sh b/src/aif.sh index 6949482..a372932 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -98,6 +98,9 @@ fi load_module core [ "$module" != core -a "$module" != http ] && load_module "$module" +# this is a workaround for bash <4.2, where associative arrays are inherently local, +# so we must source these variables in the main scope +source $LIB_CORE/libs/lib-blockdevices-filesystems.sh load_procedure "$module" "$procedure" -- cgit v1.2.3-54-g00ecf