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

Unified Diff: platform_tools/ios/bin/ios_path_exists

Issue 1087653005: ios buildbot scripts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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
Index: platform_tools/ios/bin/ios_path_exists
diff --git a/platform_tools/ios/bin/ios_path_exists b/platform_tools/ios/bin/ios_path_exists
new file mode 100755
index 0000000000000000000000000000000000000000..06794eec3d6fe178a68f5655d65f254f5c0605da
--- /dev/null
+++ b/platform_tools/ios/bin/ios_path_exists
@@ -0,0 +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.
+###############################################################################
+#
+# Check if ios path exists.
+#
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+source $SCRIPT_DIR/ios_setup.sh
+
+if [[ "$#" -ne "1" ]]; then
+ echo "Usage: ios_path_exists <path_in_Documents_folder_of_ios_device>"
+ exit 1
+fi
+
+RET=ios_path_exists $1
+exit $RET

Powered by Google App Engine
This is Rietveld 408576698