git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] web--browse: Add a few quotes in 'init_browser_path'.
@ 2008-02-09  6:11 Christian Couder
  0 siblings, 0 replies; only message in thread
From: Christian Couder @ 2008-02-09  6:11 UTC (permalink / raw)
  To: Junio Hamano, Eric Wong; +Cc: git

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-09  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-09  6:11 [PATCH 2/2] web--browse: Add a few quotes in 'init_browser_path' Christian Couder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).