summaryrefslogtreecommitdiff
path: root/tools/mkcatdirs
Commit message (Collapse)AuthorAge
* Refactor use of cd in shell scriptsColin Watson2022-03-08
| | | | | | | | | shellcheck warns about unchecked uses of `cd` (SC2164). Either check it or refactor to avoid changing directory. * src/tests/man-deleted-directory: Check `cd` call. * src/tests/man-suffixed-extension: Avoid changing directory. * tools/mkcatdirs: Likewise.
* mkcatdirs: Skip nonexistent man directoriesColin Watson2022-03-08
| | | | | | * tools/mkcatdirs: `manpath -qg` may return man directories that are mentioned in the configuration file but that don't exist on the filesystem. Skip these.
* mkcatdirs: Refactor using install(1)Colin Watson2022-03-08
| | | | | | | | I'm not sure this script is widely-used, but it might as well work. It previously relied on `mkinstalldirs`, which is a build tool not typically installed on end-user systems. * tools/mkcatdirs: Refactor cat directory creation using install(1).
* Apply various minor shell syntax improvementsColin Watson2022-03-08
| | | | | | | | | | | | | | | | * manual/print-options: Explicitly set `LANGUAGE=''` rather than `LANGUAGE=`, pacifying shellcheck SC1007 which notes that this construction might otherwise be misread. * src/tests/manconv-odd-combinations: Use `printf %b` to pacify shellcheck SC2059. * src/tests/testlib.sh: Tell shellcheck which shell syntax to assume, since this file has no `#!` line. (run): Disable shellcheck SC2154; `abs_top_builddir` is always set by the test runner. (report): Remove unnecessary `$` before variable in arithmetic context. (tools/checkman): Use `$(...)` for command substitution. Quote variables properly where possible, and ignore shellcheck SC2068 in a couple of other places.
* Introduce pre-commitColin Watson2022-01-01
| | | | | | | | | * .pre-commit-config.yaml: New file. * .gitlab-ci.yml (stages): Add bootstrap. (pre-commit): New job. (bootstrap): Move to bootstrap stage. Remove trailing whitespace from all files.
* * docs/COPYING, docs/COPYING.LIB: Update from www.gnu.org to pick upColin Watson2005-07-31
| | | | | | the FSF's new address. * Update all other GPL and LGPL notices with the new address (apart from those in externally-maintained files).
* * tools/mkcatdirs: Replace XSIish uses of 'test' with more portableColin Watson2004-06-28
| | | | code.
* Apply proper copyright and licence notices to all source files. There areColin Watson2002-10-23
| | | | | no functional changes here, either to the code or to the applicable licences, merely clarifications.
* Rename package from man_db to man-db, as the underscore was awkward.Colin Watson2002-04-03
| | | | Start updating NEWS for 2.4.0.
* Initial revisionColin Watson2001-04-26