]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - builtins/declare.def
Imported from ../bash-2.01.1.tar.gz.
[thirdparty/bash.git] / builtins / declare.def
index 10a314654bebe448faa9871a1af04401e160f8d4..ae49b66bfb144a986437cea92bb69e304172b580 100644 (file)
@@ -369,8 +369,10 @@ declare_internal (list, local_var)
            assign_array_var_from_string (var, value);
          else
 #endif
+         /* This essentially duplicates the internals of bind_variable() */
          if (offset)
            {
+             var->attributes &= ~att_invisible;
              t = make_variable_value (var, value);
              FREE (var->value);
              var->value = t;