Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-297

RM a non-existing file should not fail the script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.2.0
    • grunt
    • None

    Description

      rm is commonly used to remove the existing output before re-execute a script. However, when the output is not existing, rm will fail and grunt will terminate the execution. Such a behavior is very inconvenience. Expected grunt behavior would print some error message and continue to execute the script.

      Attachments

        1. PIG-297.patch
          0.5 kB
          Yiping Han
        2. PIG-297v2.patch
          4 kB
          Yiping Han

        Activity

          People

            yhan Yiping Han
            yhan Yiping Han
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: