[Fai-commit] r5836 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Sun Jul 4 10:26:58 UTC 2010
Author: lange
Date: 2010-07-04 10:26:54 +0000 (Sun, 04 Jul 2010)
New Revision: 5836
Modified:
trunk/debian/changelog
trunk/lib/subroutines
Log:
subroutines: do not dump bash array variables
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2010-07-04 10:03:16 UTC (rev 5835)
+++ trunk/debian/changelog 2010-07-04 10:26:54 UTC (rev 5836)
@@ -22,6 +22,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: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2010-07-04 10:03:16 UTC (rev 5835)
+++ trunk/lib/subroutines 2010-07-04 10:26:54 UTC (rev 5836)
@@ -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