Skip to content

Commit

Permalink
Escape URL
Browse files Browse the repository at this point in the history
Signed-off-by: Juhyung Park <[email protected]>
  • Loading branch information
arter97 committed Nov 6, 2024
1 parent 3fab924 commit 93aee92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -ex

# Extract full update
aria2c -x5 $1 -o ota.zip
aria2c -x5 "$1" -o ota.zip
unzip ota.zip payload.bin
mv payload.bin payload_working.bin
TAG="`unzip -p ota.zip payload_properties.txt | grep ^POST_OTA_VERSION= | cut -b 18-`"
Expand All @@ -16,7 +16,7 @@ mkdir ota

# Apply incrementals
for i in ${@:2}; do
aria2c -x5 $i -o ota.zip
aria2c -x5 "$i" -o ota.zip
unzip ota.zip payload.bin
wait
mv payload.bin payload_working.bin
Expand Down

0 comments on commit 93aee92

Please sign in to comment.