2015-04-21 15:31:59 +00:00
|
|
|
#!/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.
|
|
|
|
###############################################################################
|
|
|
|
#
|
2015-05-05 14:55:06 +00:00
|
|
|
# Check if ios path exists.
|
|
|
|
#
|
|
|
|
|
|
|
|
set -x -e
|
|
|
|
|
2015-04-21 15:31:59 +00:00
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
source $SCRIPT_DIR/ios_setup.sh
|
|
|
|
|
2015-05-05 14:55:06 +00:00
|
|
|
if [[ "$#" -ne "1" ]]; then
|
2015-04-21 15:31:59 +00:00
|
|
|
echo "Usage: ios_path_exists <path_in_Documents_folder_of_ios_device>"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
RET=ios_path_exists $1
|
2015-05-05 14:55:06 +00:00
|
|
|
exit $RET
|