diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-19 11:25:46 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-19 11:25:46 +0000 |
commit | 4ec10e8622f1cc1584b8da2ea7652156e88660be (patch) | |
tree | c9eca053a4148d240bc8c7de69c12afb22fe6b2b /bin | |
parent | fcbb6403f7da39693249204d60ab393966c8574e (diff) | |
download | bitbake-4ec10e8622f1cc1584b8da2ea7652156e88660be.tar.gz |
Attempt to correct an unintended consequence of the localdir fix.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/oe/fetch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/oe/fetch.py b/bin/oe/fetch.py index fed672395..c67fd60bc 100644 --- a/bin/oe/fetch.py +++ b/bin/oe/fetch.py @@ -325,7 +325,7 @@ class Cvs(Fetch): if "localdir" in parm: localdir = parm["localdir"] else: - localdir = os.path.basename(module) + localdir = module cvs_rsh = None if method == "ext": @@ -412,7 +412,7 @@ class Cvs(Fetch): os.chdir(moddir) os.chdir('..') # tar them up to a defined filename - myret = os.system("tar -czf %s %s" % (os.path.join(dldir,tarfn), localdir)) + myret = os.system("tar -czf %s %s" % (os.path.join(dldir,tarfn), os.path.basename(moddir))) if myret != 0: try: os.unlink(tarfn) |