diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2008-02-09 07:11:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-09 23:46:07 -0800 |
commit | 193ad4f63c511948050079ddbe8c9b7342bf85a4 (patch) | |
tree | 197673e805255aa2f9347397171d6cea0b03c2be /git-web--browse.sh | |
parent | b261ec463a4c117aa7961fd3667ffafe0f9ee986 (diff) | |
download | git-193ad4f63c511948050079ddbe8c9b7342bf85a4.tar.gz git-193ad4f63c511948050079ddbe8c9b7342bf85a4.tar.xz |
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>
Diffstat (limited to 'git-web--browse.sh')
-rwxr-xr-x | git-web--browse.sh | 4 |
1 files 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 |