projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706359f
)
Correct tar ball directory
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 5 Apr 2012 08:49:45 +0000
(16:49 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 5 Apr 2012 08:49:45 +0000
(16:49 +0800)
gitbuildsys/cmd_localbuild.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_localbuild.py
b/gitbuildsys/cmd_localbuild.py
index
23a977d
..
7536289
100644
(file)
--- a/
gitbuildsys/cmd_localbuild.py
+++ b/
gitbuildsys/cmd_localbuild.py
@@
-214,7
+214,7
@@
def do(opts, args):
source = utils.parse_spec(specfile, 'SOURCE0')
urlres = urlparse.urlparse(source)
- tarball = '
%s/%s' % (oscworkdir, os.path.basename(urlres.path)
)
+ tarball = '
packaging/%s' % os.path.basename(urlres.path
)
msger.info('generate tar ball: %s' % tarball)
mygit = git.Git(workdir)
mygit.archive("%s-%s/" % (name, version), tarball)