diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-05 18:04:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-05 18:05:02 +0200 |
commit | 235e420e10ffb9bbc1295f50fce16b798286f2bb (patch) | |
tree | ed9b5bd45634553a652c18840cf68723fd622b43 /gentree.py | |
parent | 9a45123e37e8a57d361c7a1cb56b824d2c4e83f9 (diff) |
gentree: fix file copying bug
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ def copy_files(srcpath, copy_list, outdir): def copy_ignore(dir, entries): r = [] for i in entries: - if i[-1] in ('o', '~'): + if i[-2] == '.o' or i[-1] == '~': r.append(i) return r copytree(os.path.join(srcpath, srcitem), |