You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2014/06/16 22:25:09 UTC
svn commit: r1602988 -
/spamassassin/trunk/backend/nitemc/extract_to_rsync_dir
Author: kmcgrail
Date: Mon Jun 16 20:25:08 2014
New Revision: 1602988
URL: http://svn.apache.org/r1602988
Log:
Fixing issues with extract_to_rsync_dir
Modified:
spamassassin/trunk/backend/nitemc/extract_to_rsync_dir
Modified: spamassassin/trunk/backend/nitemc/extract_to_rsync_dir
URL: http://svn.apache.org/viewvc/spamassassin/trunk/backend/nitemc/extract_to_rsync_dir?rev=1602988&r1=1602987&r2=1602988&view=diff
==============================================================================
--- spamassassin/trunk/backend/nitemc/extract_to_rsync_dir (original)
+++ spamassassin/trunk/backend/nitemc/extract_to_rsync_dir Mon Jun 16 20:25:08 2014
@@ -25,6 +25,20 @@ if [ ! -f $versfile ]; then
fi
subdir=${type}_mass_check
+
+# No Idea why this command is here even AFTER reading the docs...
+# bash man for set
+#
+# Without options, the name and value of each shell variable are displayed in a format that can be reused as input for setting or resetting the currently-set variables. Read-only variables cannot be
+# reset. In posix mode, only shell variables are listed. The output is sorted according to the current locale. When options are specified, they set or unset shell attributes. Any arguments remain-
+# ing after option processing are treated as values for the positional parameters and are assigned, in order, to $1, $2, ... $n. Options, if specified, have the following meanings:
+# -e Exit immediately if a pipeline (which may consist of a single simple command), a subshell command enclosed in parentheses, or one of the commands executed as part of a command list enclosed
+# by braces (see SHELL GRAMMAR above) exits with a non-zero status. The shell does not exit if the command that fails is part of the command list immediately following a while or until key-
+# word, part of the test following the if or elif reserved words, part of any command executed in a && or ââ list except the command following the final && or ââ, any command in a pipeline but
+# the last, or if the commandâs return value is being inverted with !. A trap on ERR, if set, is executed before the shell exits. This option applies to the shell environment and each sub-
+# shell environment separately (see COMMAND EXECUTION ENVIRONMENT above), and may cause subshells to exit before executing all the commands in the subshell.
+# -x After expanding each simple command, for command, case command, select command, or arithmetic for command, display the expanded value of PS4, followed by the command and its expanded argu-
+# ments or associated word list.
set -ex
echo "Type: $type"