[Fai-commit] r6611 - trunk/lib

Thomas Lange lange at alioth.debian.org
Wed Jul 20 16:07:59 UTC 2011


Author: lange
Date: 2011-07-20 16:07:59 +0000 (Wed, 20 Jul 2011)
New Revision: 6611

Modified:
   trunk/lib/subroutines
Log:
add BASHOPTS to pattern


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2011-07-20 15:11:05 UTC (rev 6610)
+++ trunk/lib/subroutines	2011-07-20 16:07:59 UTC (rev 6611)
@@ -434,7 +434,7 @@
     fi
     unset class svar
     # now all variables are defined. Dump them to variables.log, so we can sources them if needed
-    set | perl -ne 'print if /^\w\w+=/ and not /^(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|BASHOPTS)|\(/' > $LOGDIR/variables.log
     # another approach is to use this. A slightly different format, but seems to be robust.
     # declare -x > $LOGDIR/variables.log
     cd $odir




More information about the Fai-commit mailing list