Skip to contentSkip to conversation

cg-fetch: Fixed missing $COGITO_LIB path

PATCH In review Martin Langhoff 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cg-fetch: Fixed missing $COGITO_LIB path

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

---

Resend: Added signoff as requested.

---

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

applies-to: 6dd73afff0a1f3e2433b90e2ea42f8500393bd97 ae2ea27f59cdb22d7587aaa49f12f29e1b1f77e1

cg-fetch +1 -1
index f0c11aa..80b2a03 100755
@@ -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

#1 lore raw

cg-fetch deprecated_alias cg-fetch cg-pull · line 43

Quoted 5 lines · Martin Langhoff

fetch_progress()
{

cg-fetch +1 -1
-	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-...