diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-03 08:46:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-03 08:46:17 +0000 |
commit | e066c6a8cbfbeac50eca52f208aad372e1ee904d (patch) | |
tree | 26287c6b386fe5c289eac82f4e2b82af86722864 /main.c | |
parent | 7355c805552e6fc47e10d976711b6169f0f3c0e0 (diff) | |
download | mandoc-e066c6a8cbfbeac50eca52f208aad372e1ee904d.tar.gz |
No need to hardcode /usr/bin/ as the path to more(1); helps portability.
We don't hardcode the paths to gunzip(1) and cmp(1) either.
Discussed with ajacoutot@.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -997,7 +997,7 @@ spawn_pager(void) if (pager == NULL || *pager == '\0') pager = getenv("PAGER"); if (pager == NULL || *pager == '\0') - pager = "/usr/bin/more -s"; + pager = "more -s"; cp = mandoc_strdup(pager); /* |