From 333298b7dd66e4a339443df947170e4df2ee6fd9 Mon Sep 17 00:00:00 2001 From: Alexander Wolz Date: Fri, 8 Nov 2024 19:27:24 +0100 Subject: [PATCH] Fixed creating target folder --- bin/sync_remote_product_out.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/sync_remote_product_out.sh b/bin/sync_remote_product_out.sh index 3fc1bc5..d5147e2 100755 --- a/bin/sync_remote_product_out.sh +++ b/bin/sync_remote_product_out.sh @@ -79,6 +79,8 @@ REMOTE_PRODUCT_FOLDER="$REMOTE_PRODUCT_PARENT_FOLDER/$DEVICE_NAME" BEGIN=$(date -u +%s) +mkdir -p $LOCAL_AOSP_HOME + if [ ! -z $SYNC_ALL ]; then #copy everything from $ANDROID_PRODUCT_OUT rsync -avh -e "$SSH_OPTS" --delete "$SSH_USER@$SSH_HOST":$REMOTE_PRODUCT_FOLDER $LOCAL_AOSP_HOME