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 <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder 2008-02-09 07:11:01 +01:00 committed by Junio C Hamano
parent b261ec463a
commit 193ad4f63c

View File

@ -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