From 8c202c95fdaf30241e4cbf3e378ba6a96d70c180 Mon Sep 17 00:00:00 2001 From: kifir23917 Date: Wed, 17 Jul 2024 16:50:33 +0300 Subject: [PATCH] Only: support composite SUBFOLDER_TO_UPLOAD --- firmware/bin/upload_bundle.sh | 39 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/firmware/bin/upload_bundle.sh b/firmware/bin/upload_bundle.sh index 380e4cf77c..90d50078c8 100755 --- a/firmware/bin/upload_bundle.sh +++ b/firmware/bin/upload_bundle.sh @@ -36,29 +36,32 @@ if [ -n "${USER}" -a -n "$PASS" -a -n "${HOST}" ]; then FULL_BUNDLE_FILE="${WHITE_LABEL}_bundle_${BUNDLE_NAME}.zip" UPDATE_BUNDLE_FILE="${WHITE_LABEL}_bundle_${BUNDLE_NAME}_autoupdate.zip" - # sftp does not support -p flag on mkdir :( - sshpass -p $PASS sftp -o StrictHostKeyChecking=no ${USER}@${HOST} <