@matheusbsbs / matheus-bagliano / commits / 193ad4f63c
Fork 0

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>

Christian Couder committed Feb 9, 2008 at 07:11 UTC 193ad4f63c511948050079ddbe8c9b7342bf85a4
1 file changed +2 -2
git-web--browse.sh
+2 -2
@@ -34,8 +34,8 @@ valid_tool() {
34 }
35
36 init_browser_path() {
37 - browser_path=`git config browser.$1.path`
38 - test -z "$browser_path" && browser_path=$1
37 + browser_path=$(git "config browser.$1.path")
38 + test -z "$browser_path" && browser_path="$1"
39 }
40
41 while test $# != 0