Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-720

modify generate-md.sh to re-throw errors from within 'find'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • 0.3.1
    • 0.4.0
    • None

    Description

      In the site-book build tools, bin/generate-md.sh invokes bin/fix-md-dialect.py from within a `find -exec` context. If fix-md-dialect.py encounters errors, it outputs error messages on stderr, but these messages may get lost in the rest of the output, and the exit status of the script just indicates success.

      Modify the invocation of `find` to capture the error condition, complain about it in a way that does not get lost amongst the other output, and cause bin/generate-md.sh to exit with a failure condition.

      Attachments

        Issue Links

          Activity

            People

              mattf Matthew Foley
              mattf Matthew Foley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: