[oe-commits] [bitbake] branch master updated: fetch2/clearcase: Fix tar command working directory

git at git.openembedded.org git at git.openembedded.org
Sat Dec 28 12:12:37 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
     new e1a2a0e  fetch2/clearcase: Fix tar command working directory
e1a2a0e is described below

commit e1a2a0e29a75dead3426ae083387181ad52da91f
Author: CHerzig at Gauselmann.de <CHerzig at Gauselmann.de>
AuthorDate: Mon Dec 23 16:59:41 2019 +0100

    fetch2/clearcase: Fix tar command working directory
    
    We need to ensure the correct working directory is used for this
    tar command to succeed.
    
    Signed-off-by: Christian Herzig <cherzig at gauselmann.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/clearcase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/clearcase.py b/lib/bb/fetch2/clearcase.py
index e2934ef..ad2f3ed 100644
--- a/lib/bb/fetch2/clearcase.py
+++ b/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);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list