Skip to content

Commit

Permalink
web--browse: Add a few quotes in 'init_browser_path'.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Couder authored and Junio C Hamano committed Feb 10, 2008
1 parent b261ec4 commit 193ad4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-web--browse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 193ad4f

Please sign in to comment.