@@ -186,7 +186,7 @@ the given directory::
186
186
args: [-l]
187
187
cwd: /tmp
188
188
189
- When the ``stdout `` is given, it can be eiter true, false, or a string that
189
+ When the ``stdout `` is given, it can be either true, false, or a string that
190
190
makes for a valid name in the ScriptEngine context. If ``stdout `` is set to true
191
191
(the default), then the standard output of the command is printed as log
192
192
messages on the INFO level. When ``stdout `` is false, the standard output of the
@@ -216,7 +216,7 @@ used::
216
216
(see `base.context `_). This implies, among other things, that list items are
217
217
*appended * if the list is already defined in the context. This mechanism
218
218
applies also to ``base.command `` and consequently output lines are appended
219
- to the context variable if it already exist .
219
+ to the context variable if it already exists .
220
220
221
221
The ``stderr `` argument works exactly as ``stdout ``, but for standard error
222
222
output.
@@ -330,7 +330,8 @@ Creates a new directory at the given ``path``::
330
330
path: <PATH>
331
331
332
332
If ``path `` already exists, an info message is displayed (no warning or error).
333
- When ``path `` is a file or symbolic link, an error occurs.
333
+ This task creates parent directories as needed. An error is raised when
334
+ ``path `` is a file or symbolic link.
334
335
335
336
A list of names is accepted for the ``path `` argument.
336
337
@@ -346,11 +347,11 @@ This task copies the file or directory given by ``src`` to ``dst``::
346
347
347
348
If ``src `` is a file and ``dst `` is a directory, the ``src `` file is copied into
348
349
the ``dst/ `` directory. If ``src `` is a directory, ``dst `` must be a directory
349
- as well and ``src `` is copied recursively into ``dst/ ``. When a directory is
350
+ as well and ``src `` is copied recursively into ``dst ``. When a directory is
350
351
copied, symbolic links are preserved.
351
352
352
353
When copying a file and the ``dst `` exists already, it is overwritten and a
353
- waring is issued. Copying a directory when ``dst `` already exists results in
354
+ warning is issued. Copying a directory when ``dst `` already exists results in
354
355
an error. An error occurs if ``src `` does not exist, unless ``ignore_not_found ``
355
356
is ``true ``.
356
357
0 commit comments