Skip to content

Commit 01f410e

Browse files
committed
chore: make script runnable from anywhere
1 parent 978bee8 commit 01f410e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/libmongocrypt.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ async function main() {
233233
if (process.platform === 'darwin') {
234234
// The "arm64" build is actually a universal binary
235235
await fs.copyFile(
236-
`prebuilds/mongodb-client-encryption-v${pkg.version}-napi-v4-darwin-arm64.tar.gz`,
237-
`prebuilds/mongodb-client-encryption-v${pkg.version}-napi-v4-darwin-x64.tar.gz`
236+
resolveRoot('prebuilds', `mongodb-client-encryption-v${pkg.version}-napi-v4-darwin-arm64.tar.gz`),
237+
resolveRoot('prebuilds', `mongodb-client-encryption-v${pkg.version}-napi-v4-darwin-x64.tar.gz`)
238238
);
239239
}
240240
}

0 commit comments

Comments
 (0)