This repository was archived by the owner on Aug 11, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -217,15 +217,18 @@ def recursive_write(zip_object, dir_to_add):
217217def main (options ):
218218 print >> sys .stdout , "Creating BuildAMation version %s" % options .version
219219 sys .stdout .flush ()
220- cwd = os .getcwd ()
220+ restore_cwd = cwd = os .getcwd ()
221221 if options .tag :
222222 cloningDir = os .path .join (tempfile .mkdtemp (), "BuildAMation-%s" % options .version )
223223 os .makedirs (cloningDir )
224224 clone_buildamation (cloningDir , options )
225225 os .chdir (cloningDir )
226226 remove_unnecessary_files_from_clone ()
227227 update_version_numbers_in_files (options )
228+ cwd = cloningDir
228229 try :
230+ print >> sys .stdout , "Executing build steps in %s" % cwd
231+ sys .stdout .flush ()
229232 build_bam (cwd , coveritypath = options .coveritypath )
230233 test_bam (cwd )
231234 build_documentation (cwd , options .doxygenpath )
@@ -235,7 +238,7 @@ def main(options):
235238 make_tar_docs_distribution (options )
236239 make_zip_docs_distribution (options )
237240 finally :
238- os .chdir (cwd )
241+ os .chdir (restore_cwd )
239242
240243
241244if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments