Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
| 2 | |
| 3 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 7 # This is a simple wrapper script around the remoting_me2me_host binary, | |
| 8 # intended only for development use. It is copied into a build | |
| 9 # subdirectory as | |
| 10 # $CHROMIUM_OUTPUT_DIR/remoting/chrome-remote-desktop-host | |
| 11 # and runs the remoting_me2me_host binary in the parent output directory. | |
| 12 # The linux_me2me_host.py script is also copied into the remoting/ | |
| 13 # build directory, so it finds this host wrapper script in the same | |
| 14 # directory. | |
| 15 | |
| 16 # cwd cannot be used since it is set to $HOME when chrome-remote-desktop | |
|
Sergey Ulanov
2016/04/18 22:48:01
This is not the only reason to avoid CWD. Scripts
Lambros
2016/04/18 23:45:53
Yep, removed.
| |
| 17 # is daemonized. | |
| 18 exec "$(dirname "$0")/../remoting_me2me_host" "$@" | |
| OLD | NEW |