We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9c44d6 + 8442936 commit 0fff3f9Copy full SHA for 0fff3f9
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