# [PATCH 2/2] web--browse: Add a few quotes in 'init_browser_path'.

1 messages from 2008-02-09 to 2008-02-09. Participants: Christian Couder.
Thread: https://gitlist.dev/t/11984

## Christian Couder, 2008-02-09 06:11

Subject: [PATCH 2/2] web--browse: Add a few quotes in 'init_browser_path'.
Message-ID: <20080209071101.acf6cdbe.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/20080209071101.acf6cdbe.chriscool%40tuxfamily.org

```
These changes were made to the 'init_browser_path' function in
'git-instaweb.sh', but was not in 'git-web--browse.sh'.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 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 8ed489d..855de40 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
-- 
1.5.4.16.g9f0c3

```
