threads / patch / 2211

patchcg-fetch: Fixed missing $COGITO_LIB path

Subject: [PATCH] cg-fetch: Fixed missing $COGITO_LIB path

## tl;dr

2 messages between Oct 24, 2005 and Oct 24, 2005. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Martin Langhoff· Oct 24, 2005, 20:49 UTC · lore

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

Show changes to cg-fetch +1 −1
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
Junio C Hamano· Oct 24, 2005, 21:11 UTC · re: Martin Langhoff · lore

Re: [PATCH] cg-fetch: Fixed missing $COGITO_LIB path

Martin Langhoff <martin@catalyst.net.nz> writes:
Show 5 quoted lines
>  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-...

← back to recent threads