[Git-commits] [grml/grml2usb] 78ae85: grml2iso: support parallel execution

Michael Prokop noreply at github.com
Fri Mar 11 18:58:33 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml2usb
  Commit: 78ae858b306428eb130c8338d103ba2779c12857
      https://github.com/grml/grml2usb/commit/78ae858b306428eb130c8338d103ba2779c12857
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M grml2iso

  Log Message:
  -----------
  grml2iso: support parallel execution

Usage of a static working directory name doesn't make sense,
and prevents usage running grml2iso multiple times in parallel.
Instead use a temporary working directory.

This work was funded by Grml-Forensic.


  Commit: 8126bbf87f43e55098d09cd7592a60418ea19d2a
      https://github.com/grml/grml2usb/commit/8126bbf87f43e55098d09cd7592a60418ea19d2a
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M grml2iso

  Log Message:
  -----------
  grml2iso: execute under pipefail

Quoting from bash(1):

| The return status of a pipeline is the exit status of the last
| command, unless the pipefail option is enabled.  If pipefail is enabled,
| the pipeline's return status is the value of the last (rightmost)
| command to exit  with a  non-zero  status,  or zero if all commands exit
| successfully.

Furthermore, move the "set -e" to the beginning of the file, to ensure
it's active as soon as possible.

While at it, drop trailing whitespace and update ISO name to a more
recent one.

This work was funded by Grml-Forensic.


Compare: https://github.com/grml/grml2usb/compare/a6cce2293f8d...8126bbf87f43


More information about the Git-commits mailing list