cg-fetch: Fixed missing $COGITO_LIB path
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.
Signed-off-by Martin Langhoff <[email protected]>
---
Resend: Added signoff as requested.
---
cg-fetch | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: 6dd73afff0a1f3e2433b90e2ea42f8500393bd97 ae2ea27f59cdb22d7587aaa49f12f29e1b1f77e1
cg-fetch +1 -1
@@ -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
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-...