Home | History | Annotate | Download | only in bin
      1 #!/bin/bash
      2 
      3 ###############################################################################
      4 # Copyright 2015 Google Inc.
      5 #
      6 # Use of this source code is governed by a BSD-style license that can be
      7 # found in the LICENSE file.
      8 ###############################################################################
      9 #
     10 # Writes the content of the file identified by the first argument to standard
     11 # output. The path is relative to the Documents directory of the installed app.
     12 #
     13 
     14 # Do not set -x here, since we only want the content of the file sent to
     15 # standard out.
     16 set -e
     17 
     18 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     19 source $SCRIPT_DIR/ios_setup.sh
     20 
     21 ios_cat $1
     22