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

Unified Diff: platform_tools/android/bin/android_setup.sh

Issue 255263002: adb_push_if_needed - make target directory if it does not exist. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/bin/android_setup.sh
diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh
index a9b2c7955c065b85a983313601d6aef5ba90a470..d7d75f9067dc25987950fbabd27d00fedc91869c 100755
--- a/platform_tools/android/bin/android_setup.sh
+++ b/platform_tools/android/bin/android_setup.sh
@@ -222,6 +222,7 @@ adb_push_if_needed() {
fi
else
echo -n "$ANDROID_DST "
+ $ADB $DEVICE_SERIAL shell mkdir -p "$(dirname "$ANDROID_DST")"
$ADB $DEVICE_SERIAL push $HOST_SRC $ANDROID_DST
fi
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698