adb_push_if_needed - make target directory if it does not exist.

(fixes error introduced in 21a6d13.)

NOTRY=true
R=djsollen@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/255263002

git-svn-id: http://skia.googlecode.com/svn/trunk@14445 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-04-29 20:12:21 +00:00
parent 9add5dc33f
commit 7f07e956fe

View File

@ -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
}