[bitbake-devel] [PATCH] bitbake: fetch2/clearcase: Fix tar command

CHerzig at Gauselmann.de CHerzig at Gauselmann.de
Mon Dec 23 15:59:41 UTC 2019


Signed-off-by: Christian Herzig <cherzig at gauselmann.de>
---
 bitbake/lib/bb/fetch2/clearcase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/fetch2/clearcase.py 
b/bitbake/lib/bb/fetch2/clearcase.py
index e2934ef9fc..ad2f3edc74 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -238,7 +238,7 @@ class ClearCase(FetchMethod):
 
         # Clean clearcase meta-data before tar
 
-        runfetchcmd('tar -czf "%s" .' % (ud.localpath), d, cleanup = 
[ud.localpath])
+        runfetchcmd('tar -czf "%s" .' % (ud.localpath), d, cleanup = 
[ud.localpath], workdir = ud.viewdir)
 
         # Clean up so we can create a new view next time
         self.clean(ud, d);
-- 
2.17.1


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20191223/b1396d6d/attachment.html>


More information about the bitbake-devel mailing list