diff options
author | André Erdmann <dywi@mailerd.de> | 2013-09-06 11:56:14 +0200 |
---|---|---|
committer | André Erdmann <dywi@mailerd.de> | 2013-09-06 12:05:00 +0200 |
commit | cac0ebaee367d638cb7e9faf510b2aca77275051 (patch) | |
tree | 8e4569d6af495f49af255784d080049ad25c56bb /doc | |
parent | files/shlib/functions: sync_allowed(), $this (diff) | |
download | R_overlay-cac0ebaee367d638cb7e9faf510b2aca77275051.tar.gz R_overlay-cac0ebaee367d638cb7e9faf510b2aca77275051.tar.bz2 R_overlay-cac0ebaee367d638cb7e9faf510b2aca77275051.zip |
files/hooks/mux.sh: set $this
Diffstat (limited to 'doc')
-rw-r--r-- | doc/html/usage.html | 7 | ||||
-rw-r--r-- | doc/rst/usage.rst | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/html/usage.html b/doc/html/usage.html index f3b8866..b5fe42f 100644 --- a/doc/html/usage.html +++ b/doc/html/usage.html @@ -2783,8 +2783,11 @@ when included in the hook script, most of the enviroment variables readonly.</p> <td>name of the hook script (without file extension)</td> </tr> <tr><td>this</td> -<td>initially a copy of <tt class="docutils literal">${SCRIPT_NAME}</tt>, but can be -modified (not a constant)</td> +<td><p class="first">initially a copy of <tt class="docutils literal">${SCRIPT_NAME}</tt>, but can be +modified (not a constant).</p> +<p class="last">Set to the name of the actual hook script when using +the default event script.</p> +</td> </tr> <tr><td>lf</td> <td>reference to a function that loads additional shell diff --git a/doc/rst/usage.rst b/doc/rst/usage.rst index a571052..0b670fc 100644 --- a/doc/rst/usage.rst +++ b/doc/rst/usage.rst @@ -2350,7 +2350,10 @@ when included in the hook script, most of the enviroment variables readonly. | SCRIPT_NAME | name of the hook script (without file extension) | +-----------------+-------------------------------------------------------+ | this | initially a copy of ``${SCRIPT_NAME}``, but can be | - | | modified (not a constant) | + | | modified (not a constant). | + | | | + | | Set to the name of the actual hook script when using | + | | the default event script. | +-----------------+-------------------------------------------------------+ | lf | reference to a function that loads additional shell | | | function files | |