aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/ios/bin/ios_push_file
blob: 504f0ccb0ae198546ca4ac3dec81a238af31a677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
###############################################################################
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
###############################################################################
#
# Copies a single file from the host to the device.
#
set -x -e

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/ios_setup.sh

HOST_PATH=$1
DEVICE_PATH=$2

ios_push $HOST_PATH $DEVICE_PATH