diff options
Diffstat (limited to 'scripts/oe-gnome-terminal-phonehome')
-rwxr-xr-x | scripts/oe-gnome-terminal-phonehome | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/oe-gnome-terminal-phonehome b/scripts/oe-gnome-terminal-phonehome new file mode 100755 index 0000000000..e02354883a --- /dev/null +++ b/scripts/oe-gnome-terminal-phonehome | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # Gnome terminal won't tell us which PID a given command is run as | ||
4 | # or allow a single instance so we can't tell when it completes. | ||
5 | # This allows us to figure out the PID of the target so we can tell | ||
6 | # when its done. | ||
7 | # | ||
8 | echo $$ > $1 | ||
9 | shift | ||
10 | exec $@ | ||