oe-gnome-terminal-phonehome 342 B

1234567891011121314
  1. #!/bin/sh
  2. #
  3. # Copyright OpenEmbedded Contributors
  4. #
  5. # SPDX-License-Identifier: GPL-2.0-only
  6. #
  7. # Gnome terminal won't tell us which PID a given command is run as
  8. # or allow a single instance so we can't tell when it completes.
  9. # This allows us to figure out the PID of the target so we can tell
  10. # when its done.
  11. #
  12. echo $$ > $1
  13. shift
  14. exec $@