diff options
-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 2c51f361d1..3ade500e0c 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 |