We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c44d6 commit 8442936Copy full SHA for 8442936
ci/buildserver-upload.sh
@@ -45,7 +45,9 @@ while true; do
45
upload_path="$platform/releases"
46
fi
47
48
- readarray -t files < <(cut -f 2- -d ' ' < "$checksums_path" | sed 's/^\*\(.*\)/\1/')
+ # Read all files listed in the checksum file at $checksums_path into an array.
49
+ # sed is used to trim surrounding whitespace and asterisks from filenames.
50
+ readarray -t files < <(cut -f 2- -d ' ' < "$checksums_path" | sed 's/^[ \t\*]*\(.*\)[ \t]*$/\1/')
51
for filename in "${files[@]}"; do
52
file="$checksums_dir/$filename"
53
0 commit comments