210
212
# To acheive this we export delete debian/ and tar the result,
211
213
# then we blow that away and export the whole thing again.
212
214
source_dir = self._properties.source_dir()
214
215
build_dir = self._properties.build_dir()
215
217
export(self._tree,source_dir,None,None)
217
219
remove_bzrbuilddeb_dir(source_dir)
218
220
remove_debian_dir(source_dir)
219
222
source_dir_rel = self._properties.source_dir(False)
224
224
shutil.rmtree(source_dir)
225
225
info("Exporting to %s", source_dir)
226
226
export(self._tree,source_dir,None,None)