OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 ############################################################################### | 3 ############################################################################### |
4 # Copyright 2015 Google Inc. | 4 # Copyright 2015 Google Inc. |
5 # | 5 # |
6 # Use of this source code is governed by a BSD-style license that can be | 6 # Use of this source code is governed by a BSD-style license that can be |
7 # found in the LICENSE file. | 7 # found in the LICENSE file. |
8 ############################################################################### | 8 ############################################################################### |
9 # | 9 # |
| 10 # Mounts the iOS device locally. See the value of IOS_MOUNT_POINT in |
| 11 # ios_setup.sh for the exact location. |
| 12 # |
| 13 set -x -e |
| 14 |
10 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | 15 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
11 source $SCRIPT_DIR/ios_setup.sh | 16 source $SCRIPT_DIR/ios_setup.sh |
12 | 17 |
13 TARGET_DIR=$1 | 18 ios_mount |
14 | |
15 ios_pull "*" "$TARGET_DIR" | |
16 | |
OLD | NEW |