mirror of
1
0
Fork 0

Remove stray asterisk

This commit is contained in:
Anish Athalye 2021-06-02 20:23:55 -04:00
parent 24f88c4584
commit 076939da8e
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ mapped to extended configuration dictionaries.
| `canonicalize` | Resolve any symbolic links encountered in the source to symlink to the canonical path (default: true, real paths) |
| `if` | Execute this in your `$SHELL` and only link if it is successful. |
| `ignore-missing` | Do not fail if the source is missing and create the link anyway (default: false) |
| `glob` | Treat `path` as a glob pattern, expanding patterns referenced below, linking all *files** matched. (default: false) |
| `glob` | Treat `path` as a glob pattern, expanding patterns referenced below, linking all *files* matched. (default: false) |
| `exclude` | Array of glob patterns to remove from glob matches. Uses same syntax as `path`. Ignored if `glob` is `false`. (default: empty, keep all matches) |
| `prefix` | Prepend prefix prefix to basename of each file when linked, when `glob` is `true`. (default: '') |

View File

@ -85,7 +85,7 @@ class Link(dotbot.Plugin):
glob_item = (glob_full_item if len(glob_dirname) == 0 else glob_full_item[len(glob_dirname) + 1:])
# Add prefix to basepath, if provided
if base_prefix:
glob_item = base_prefix + glob_item
glob_item = base_prefix + glob_item
# where is it going
glob_link_destination = os.path.join(destination, glob_item)
if create: