git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cg-fetch: Fixed missing $COGITO_LIB path
@ 2005-10-21  5:31 Martin Langhoff
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Langhoff @ 2005-10-21  5:31 UTC (permalink / raw)
  To: git; +Cc: Martin Langhoff

Trivial fix -- prevents cg-fetch from working on systems where the COGITO_LIB
env var isn't set.

---

 cg-fetch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 6dd73afff0a1f3e2433b90e2ea42f8500393bd97
ae2ea27f59cdb22d7587aaa49f12f29e1b1f77e1
diff --git a/cg-fetch b/cg-fetch
index f0c11aa..80b2a03 100755
--- a/cg-fetch
+++ b/cg-fetch
@@ -39,7 +39,7 @@ deprecated_alias cg-fetch cg-pull
 
 fetch_progress()
 {
-	exec cg-Xfetchprogress "$_git_objects"
+	exec ${COGITO_LIB}cg-Xfetchprogress "$_git_objects"
 }
 
 show_changes_summary()
---
0.99.8.GIT

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] cg-fetch: Fixed missing $COGITO_LIB path
@ 2005-10-24 20:49 Martin Langhoff
  2005-10-24 21:11 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Langhoff @ 2005-10-24 20:49 UTC (permalink / raw)
  To: git; +Cc: Martin Langhoff

Trivial fix -- prevents cg-fetch from working on systems where the COGITO_LIB
env var isn't set.

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>


---

Resend: Added signoff as requested.

---

 cg-fetch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 6dd73afff0a1f3e2433b90e2ea42f8500393bd97
ae2ea27f59cdb22d7587aaa49f12f29e1b1f77e1
diff --git a/cg-fetch b/cg-fetch
index f0c11aa..80b2a03 100755
--- a/cg-fetch
+++ b/cg-fetch
@@ -39,7 +39,7 @@ deprecated_alias cg-fetch cg-pull
 
 fetch_progress()
 {
-	exec cg-Xfetchprogress "$_git_objects"
+	exec ${COGITO_LIB}cg-Xfetchprogress "$_git_objects"
 }
 
 show_changes_summary()
---
0.99.8.GIT

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cg-fetch: Fixed missing $COGITO_LIB path
  2005-10-24 20:49 Martin Langhoff
@ 2005-10-24 21:11 ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2005-10-24 21:11 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: git

Martin Langhoff <martin@catalyst.net.nz> writes:

>  fetch_progress()
>  {
> -	exec cg-Xfetchprogress "$_git_objects"
> +	exec ${COGITO_LIB}cg-Xfetchprogress "$_git_objects"
>  }

I think somebody recently sent a patch to quote the variable so
that you can have whitespace in it.  So probably:

	exec "${COGITO_LIB}"cg-Xfetchprogress "$_git_objects"

or even "${COGITO_LIB}/"cg-...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-24 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21  5:31 [PATCH] cg-fetch: Fixed missing $COGITO_LIB path Martin Langhoff
  -- strict thread matches above, loose matches on Subject: below --
2005-10-24 20:49 Martin Langhoff
2005-10-24 21:11 ` Junio C Hamano

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).