From 193ad4f63c511948050079ddbe8c9b7342bf85a4 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 9 Feb 2008 07:11:01 +0100 Subject: [PATCH] web--browse: Add a few quotes in 'init_browser_path'. These changes were made to the 'init_browser_path' function in 'git-instaweb.sh', but was not in 'git-web--browse.sh'. [jc: the quoting was screwy and did not quote $1 correctly, so I fixed it up.] Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- git-web--browse.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-web--browse.sh b/git-web--browse.sh index 2c51f361d..3ade500e0 100755 --- a/git-web--browse.sh +++ b/git-web--browse.sh @@ -34,8 +34,8 @@ valid_tool() { } init_browser_path() { - browser_path=`git config browser.$1.path` - test -z "$browser_path" && browser_path=$1 + browser_path=$(git "config browser.$1.path") + test -z "$browser_path" && browser_path="$1" } while test $# != 0 -- 2.26.2