diff options
author | Wynn Wolf Arbor | 2020-01-21 21:22:49 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-01-21 21:22:49 +0100 |
commit | 8dbe19222a8cb76a85afdcafd4be2ec3393570ad (patch) | |
tree | be21f3c14f50b3acd1edbd93255531780d8e78ba /bosun.1 | |
parent | 956d6f907c8475438b40ee5d0a14d70430bee741 (diff) | |
download | bosun-8dbe19222a8cb76a85afdcafd4be2ec3393570ad.tar.gz |
Make list_active more robust
A couple of small changes to this function should make it more robust in
the long run:
1) We no longer filter the symlinks with find(1), instead combining
filtering and substituting in sed(1)
2) We use the absolute path (as given by readlink -f) such that we can
anchor the regular expression pattern to avoid unwanted substitution.
3) Instead of hard-coding paths we now use STOW_DIR (and STOW_DIR/.. for
the target directory)
4) To avoid unnecessary complexity, we no longer let the user override
STOW_DIR. This tool is supposed to be used with the canonical
/etc/portage/stow location
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions