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:
5995bd9
)
fix bugs: gbs import XXX.spec error when the dir of spec file contains contents
author
Guan Junchun
<junchunx.guan@intel.com>
Wed, 21 Mar 2012 05:55:34 +0000
(13:55 +0800)
committer
Guan Junchun
<junchunx.guan@intel.com>
Wed, 21 Mar 2012 05:55:34 +0000
(13:55 +0800)
gitbuildsys/cmd_import.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_import.py
b/gitbuildsys/cmd_import.py
index a8192ba23d7ed2ad14e02f9fa060f15e068ce451..9a7fa2aadca02205a6617403c9e70ffc33a1aec4 100644
(file)
--- a/
gitbuildsys/cmd_import.py
+++ b/
gitbuildsys/cmd_import.py
@@
-116,7
+116,7
@@
def do(opts, args):
packagingfiles = glob.glob('%s/*' % basedir)
for f in packagingfiles:
- if f.endswith(os.path.basename(tarball)):
+ if f.endswith(os.path.basename(tarball))
or not os.path.isfile(f)
:
continue
shutil.copy(f, packagingdir)