Skip to content

Commit bb0b6a7

Browse files
authored
Fix upload target of stdlib runtime files (#7267)
1 parent cc6c87c commit bb0b6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/upload_bundle.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ TARGET="ftp://${KEYCDN_SRV}/v${VERSION}/${DIR}"
5454

5555
echo "Uploading '$SOURCE/*.js' to '$TARGET/*.js'..."
5656

57-
find "${SOURCE}" -type f -name "*.js" -exec curl --ftp-create-dirs --ssl --netrc-file "$NETRC_FILE" -T {} "${TARGET}/{}" \;
57+
find "${SOURCE}" -type f -name "*.js" -exec sh -c 'curl --ftp-create-dirs --ssl --netrc-file "$0" -T "$1" "${2}/$(basename "$1")"' "$NETRC_FILE" {} "$TARGET" \;

0 commit comments

Comments
 (0)