Index: platform_tools/ios/bin/ios_umount |
diff --git a/platform_tools/ios/bin/ios_rmdir b/platform_tools/ios/bin/ios_umount |
similarity index 88% |
rename from platform_tools/ios/bin/ios_rmdir |
rename to platform_tools/ios/bin/ios_umount |
index 127127341d666552841eccd292f020d47d8ac30a..ddc477c1fb1d85c67638a58185b9ffd7fb192131 100755 |
--- a/platform_tools/ios/bin/ios_rmdir |
+++ b/platform_tools/ios/bin/ios_umount |
@@ -1,12 +1,17 @@ |
#!/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. |
############################################################################### |
+# |
+# Mount the ios device. |
+# |
+set -x -e |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
source $SCRIPT_DIR/ios_setup.sh |
-ios_rmdir $1 |
+ios_umount |