Home | History | Annotate | Download | only in bin
      1 #!/bin/bash
      2 ###############################################################################
      3 # Copyright 2015 Google Inc.
      4 #
      5 # Use of this source code is governed by a BSD-style license that can be
      6 # found in the LICENSE file.
      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
     15 
     16 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     17 source $SCRIPT_DIR/ios_setup.sh
     18 
     19 HOST_PATH=$1
     20 DEVICE_PATH=$2
     21 
     22 ios_push $HOST_PATH $DEVICE_PATH
     23