Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
web--browse: Add a few quotes in 'init_browser_path'.
[gitweb.git]
/
git-web--browse.sh
diff --git
a/git-web--browse.sh
b/git-web--browse.sh
index 2c51f361d17064ef9daeb6168bef9adf91cc0e4b..3ade500e0c4bcdbd06809f3b4e03d087498bd3b7 100755
(executable)
--- 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