You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local target="$2"# Path to write the payload to, writing does not need to be atomic because the caller later does an atomic move
54
-
local from="${3-}"# Either path to XML dump or the constant "release-server"
55
-
local base=""
56
-
local entries=""
57
-
local hash=""
58
-
local size=""
59
-
local url=""
54
+
local from="$3"# Either path to XML dump or the constant "release-server"
55
+
local target_tmpdir=""
56
+
local extracted_filename="${name/%.gz/.raw}"
57
+
local ARG=()
60
58
local ret
61
59
SUCCESS=false
60
+
target_tmpdir="$(dirname "${target}")/ue-rs/"
62
61
set +e
63
62
(
64
63
set -e
65
-
# TODO: Replace the below with invoking an ue-rs helper binary for downloading the payload "name", either from the XML data or the release server ("from"), and write unpacked, verified file to "target"
0 commit comments