Skip to content

Commit

Permalink
fix(mkdist): error output problem in the make distribution script (#162)
Browse files Browse the repository at this point in the history
Close #154
  • Loading branch information
langevin-usgs authored Jun 10, 2019
1 parent 8878a3c commit 7176e18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions distribution/mkdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,14 +543,20 @@ def update_latex_releaseinfo():

cmd = ['python', 'mk_example_items.py']
buff, ierr = run_command(cmd, pth)
msg = '\nERROR {}: could not run {} on {}'.format(ierr, cmd[0],
cmd[1])
assert ierr == 0, buff + msg

cmd = ['python', 'mk_example_table.py']
buff, ierr = run_command(cmd, pth)
msg = '\nERROR {}: could not run {} on {}'.format(ierr, cmd[0],
cmd[1])
assert ierr == 0, buff + msg

cmd = ['python', 'mk_folder_struct.py']
buff, ierr = run_command(cmd, pth)
msg = '\nERROR {}: could not run {} on {}'.format(ierr, cmd[0],
cmd[1])
assert ierr == 0, buff + msg

for f in files:
Expand Down

0 comments on commit 7176e18

Please sign in to comment.