From 73e8fa97ff1604c99ff9530298c20bd56904eacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Tsnobiladz=C3=A9?= Date: Fri, 31 Jan 2025 09:14:48 +0100 Subject: [PATCH] Fix upload target of stdlib runtime files --- playground/upload_bundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/upload_bundle.sh b/playground/upload_bundle.sh index 0176949022..999a28bbde 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'..." -find "${SOURCE}" -type f -name "*.js" -exec curl --ftp-create-dirs --ssl --netrc-file "$NETRC_FILE" -T {} "${TARGET}/{}" \; +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" \;