[PATCH 5/9] fetch2/gitannex: split the annex get arguments

Anders Heimer <[email protected]> Thu, 25 Jun 2026 09:07:46 +0200
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
Signed-off-by: Anders Heimer <[email protected]>
---
 lib/bb/fetch2/gitannex.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/gitannex.py b/lib/bb/fetch2/gitannex.py
index b0b2c229e..c378cc36d 100644
--- a/lib/bb/fetch2/gitannex.py
+++ b/lib/bb/fetch2/gitannex.py
@@ -36,7 +36,7 @@ class GitANNEX(Git):
 
     def update_annex(self, ud, d, wd):
         try:
-            runfetchcmd(ud.basecmd + ['annex get', '--all'], d, quiet=True, workdir=wd)
+            runfetchcmd(ud.basecmd + ['annex', 'get', '--all'], d, quiet=True, workdir=wd)
         except bb.fetch.FetchError:
             return False
         runfetchcmd(['chmod', 'u+w', '-R', '%s/annex' % ud.clonedir], d, quiet=True, workdir=wd)