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):
217
217
def main (options ):
218
218
print >> sys .stdout , "Creating BuildAMation version %s" % options .version
219
219
sys .stdout .flush ()
220
- cwd = os .getcwd ()
220
+ restore_cwd = cwd = os .getcwd ()
221
221
if options .tag :
222
222
cloningDir = os .path .join (tempfile .mkdtemp (), "BuildAMation-%s" % options .version )
223
223
os .makedirs (cloningDir )
224
224
clone_buildamation (cloningDir , options )
225
225
os .chdir (cloningDir )
226
226
remove_unnecessary_files_from_clone ()
227
227
update_version_numbers_in_files (options )
228
+ cwd = cloningDir
228
229
try :
230
+ print >> sys .stdout , "Executing build steps in %s" % cwd
231
+ sys .stdout .flush ()
229
232
build_bam (cwd , coveritypath = options .coveritypath )
230
233
test_bam (cwd )
231
234
build_documentation (cwd , options .doxygenpath )
@@ -235,7 +238,7 @@ def main(options):
235
238
make_tar_docs_distribution (options )
236
239
make_zip_docs_distribution (options )
237
240
finally :
238
- os .chdir (cwd )
241
+ os .chdir (restore_cwd )
239
242
240
243
241
244
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments