From: Joey Hess Date: Tue, 3 Nov 2009 00:24:23 +0000 (-0500) Subject: de-hardcode paths X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/10251e7b189af377b02f6ea5ec6d0b010ca1eeef?ds=inline de-hardcode paths --- diff --git a/mr b/mr index 0a78df5..ff4adce 100755 --- a/mr +++ b/mr @@ -1633,13 +1633,13 @@ git_bare_trusted_checkout = git clone --bare $url $repo help = case `uname -s` in SunOS) - SHOWMANFILE="/usr/bin/man -f" + SHOWMANFILE="man -f" ;; Darwin) - SHOWMANFILE="/usr/bin/man" + SHOWMANFILE="man" ;; *) - SHOWMANFILE="/usr/bin/man -l" + SHOWMANFILE="man -l" ;; esac if [ ! -e "$MR_PATH" ]; then