Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: platform_tools/ios/bin/ios_cat_file

Issue 1085583006: iOS platform scripts to be used by buildbots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Addressed comments and rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # Pull the given file/directory off the device. 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.
11 # 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
12 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 18 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
13 source $SCRIPT_DIR/ios_setup.sh 19 source $SCRIPT_DIR/ios_setup.sh
14 20
15 HOST_PATH=$1 21 ios_cat $1
16 DEVICE_PATH=$2
17
18 ios_pull $HOST_PATH $DEVICE_PATH
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698