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

Unified 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: Removed trailing white spaces 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/iOSShell.gyp ('k') | platform_tools/ios/bin/ios_install » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/ios/bin/ios_cat_file
diff --git a/platform_tools/ios/bin/ios_push_file b/platform_tools/ios/bin/ios_cat_file
similarity index 61%
copy from platform_tools/ios/bin/ios_push_file
copy to platform_tools/ios/bin/ios_cat_file
index 263b7c0a63f9c76ae8f3b7614308a365ce66846a..2e712ca96102b8f1fb00ae713ef51050a52caaa4 100755
--- a/platform_tools/ios/bin/ios_push_file
+++ b/platform_tools/ios/bin/ios_cat_file
@@ -1,18 +1,21 @@
#!/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.
###############################################################################
+#
+# Writes the content of the file identified by the first argument to standard
+# output. The path is relative to the Documents directory of the installed app.
+#
-# Fail-fast if anything in the script fails.
+# Do not set -x here, since we only want the content of the file sent to
+# standard out.
set -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
+ios_cat $1
« no previous file with comments | « gyp/iOSShell.gyp ('k') | platform_tools/ios/bin/ios_install » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698