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

Submitted by CHerzig@Gauselmann.de on Dec. 23, 2019, 3:59 p.m. | Patch ID: 168317

Details

Message ID OFD5254A7C.60A3DB90-ONC12584D9.00487C7B-C12584D9.0057DCCA@gauselmann.com
State New
Headers show

Commit Message

CHerzig@Gauselmann.de Dec. 23, 2019, 3:59 p.m.
Signed-off-by: Christian Herzig <cherzig@gauselmann.de>
---
 bitbake/lib/bb/fetch2/clearcase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

         # Clean up so we can create a new view next time
         self.clean(ud, d);

Patch hide | download patch | download mbox

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)