OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 ############################################################################### | 2 ############################################################################### |
3 # Copyright 2015 Google Inc. | 3 # Copyright 2015 Google Inc. |
4 # | 4 # |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 ############################################################################### | 7 ############################################################################### |
| 8 # |
| 9 # Copies the files identified by the first argument from the host to the target |
| 10 # path on the device. The path on the devide is relative to the Documents |
| 11 # directory. |
| 12 # |
| 13 |
| 14 set -x -e |
8 | 15 |
9 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | 16 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
10 source $SCRIPT_DIR/ios_setup.sh | 17 source $SCRIPT_DIR/ios_setup.sh |
11 | 18 |
12 HOST_PATH=$1 | 19 HOST_PATH=$1 |
13 DEVICE_PATH=$2 | 20 DEVICE_PATH=$2 |
14 | 21 |
15 ios_push $HOST_PATH $DEVICE_PATH | 22 ios_push $HOST_PATH $DEVICE_PATH |
OLD | NEW |