OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 set -e | 9 set -e |
10 WORKING_DIR=$(pwd) | 10 WORKING_DIR=$(pwd) |
11 cd $(dirname $0) | 11 cd $(dirname $0) |
12 PYTHONPATH="../../third_party/protobuf/python/" | 12 PYTHONPATH="../../third_party/protobuf/python/" |
13 if [ -z ${PYTHON_EXECUTABLE+x} ] | 13 if [ -z ${PYTHON_EXECUTABLE+x} ] |
14 then | 14 then |
15 PYTHON_EXECUTABLE=python3 | 15 PYTHON_EXECUTABLE=python3 |
16 fi | 16 fi |
17 exec $PYTHON_EXECUTABLE "rtp_analyzer.py" $@ --working_dir $WORKING_DIR | 17 exec $PYTHON_EXECUTABLE "rtp_analyzer.py" $@ --working_dir $WORKING_DIR |
OLD | NEW |