From ce80f29eb86a1f958baafc25458619fe6b17112f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 3 Apr 2015 08:46:17 +0000 Subject: 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@. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6f15e38f..61e90fe5 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.231 2015/04/02 21:36:49 schwarze Exp $ */ +/* $Id: main.c,v 1.232 2015/04/03 08:46:17 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze @@ -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); /* -- cgit v1.2.3