summaryrefslogtreecommitdiff
path: root/src/aif.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-12-06 19:00:42 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-12-06 19:00:42 +0100
commit9a5c919351428ce87bcfd7200c5ce34decd18f3a (patch)
treec4d5db5fc8109a95dca5d6bcc2b317eb31d99a62 /src/aif.sh
parente26b3e09147a5f5094616f733ec5208b6ab51e16 (diff)
until we have bash 4.2, import the new associative arrays in the global scope
Diffstat (limited to 'src/aif.sh')
-rwxr-xr-xsrc/aif.sh3
1 files changed, 3 insertions, 0 deletions
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"