diff --git a/playground/upload_bundle.sh b/playground/upload_bundle.sh index 87a6ad3276..0176949022 100755 --- a/playground/upload_bundle.sh +++ b/playground/upload_bundle.sh @@ -54,4 +54,4 @@ TARGET="ftp://${KEYCDN_SRV}/v${VERSION}/${DIR}" echo "Uploading '$SOURCE/*.js' to '$TARGET/*.js'..." -curl --ftp-create-dirs -T "${SOURCE}/*.js" --ssl --netrc-file $NETRC_FILE "${TARGET}/" \ No newline at end of file +find "${SOURCE}" -type f -name "*.js" -exec curl --ftp-create-dirs --ssl --netrc-file "$NETRC_FILE" -T {} "${TARGET}/{}" \;