[Fai-commit] r5986 - in branches/stable/3.4: debian lib
Michael Prokop
mika at alioth.debian.org
Tue Aug 17 12:54:16 UTC 2010
Author: mika
Date: 2010-08-17 12:54:15 +0000 (Tue, 17 Aug 2010)
New Revision: 5986
Modified:
branches/stable/3.4/debian/changelog
branches/stable/3.4/lib/subroutines
Log:
subroutines: do not dump bash array variables
Signed-off-by: Michael Prokop <mika at grml.org>
Modified: branches/stable/3.4/debian/changelog
===================================================================
--- branches/stable/3.4/debian/changelog 2010-08-17 12:54:10 UTC (rev 5985)
+++ branches/stable/3.4/debian/changelog 2010-08-17 12:54:15 UTC (rev 5986)
@@ -21,6 +21,7 @@
* doc/error-levels: describe error levels of task_error subroutine
* make-fai-nfsroot: remove etc/hostname and 70-persistent-net.rules from
nfsroot and base.tgz (thanks to Manuel Hachtkemper for the patch)
+ * subroutines: do not dump bash array variables
[ Michael Tautschnig ]
* control: Move setup-storage to its own package (fai-setup-storage). Thanks
Modified: branches/stable/3.4/lib/subroutines
===================================================================
--- branches/stable/3.4/lib/subroutines 2010-08-17 12:54:10 UTC (rev 5985)
+++ branches/stable/3.4/lib/subroutines 2010-08-17 12:54:15 UTC (rev 5986)
@@ -386,7 +386,7 @@
fi
unset class svar
# now all variables are defined. Dump them to variables.log
- set | perl -ne 'print if /^\w\w+=/ and not /^(BASH_VERSINFO|EUID|PPID|SHELLOPTS|UID|rootpw|ROOTPW|HOME|PWD)/' > $LOGDIR/variables.log
+ set | perl -ne 'print if /^\w\w+=/ and not /^(EUID|PPID|SHELLOPTS|UID|rootpw|ROOTPW|HOME|PWD)|\(/' > $LOGDIR/variables.log
cd $odir
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list