summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fernandes <joelaf@google.com>2019-07-10 22:52:17 -0400
committerJoel Fernandes <joelaf@google.com>2019-07-10 22:52:17 -0400
commit7dac7566c76cd575b7dce39a102908de7c3508e9 (patch)
tree0e3a8d9bc5cbfd819e020f177177ff56ad173b7d
parent3db31dcba8ba527eabbf7eb4dc39b7cfccb6eb31 (diff)
downloadadeb-7dac7566c76cd575b7dce39a102908de7c3508e9.tar.gz
Fix remote_adb_pull
Signed-off-by: Joel Fernandes <joelaf@google.com>
-rwxr-xr-xutils/remote2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/remote b/utils/remote
index ce0e081..11359cd 100755
--- a/utils/remote
+++ b/utils/remote
@@ -28,7 +28,7 @@ function remote_adb_shell() {
}
function remote_adb_pull() {
- if [ $1 == "-a" ]; then
+ if [ "x$1" == "x-a" ]; then
PRESERVE="-a"
c_info "Preserving filestamps and mode"
shift || true