fix(cli): missing shebang in zig-cross sh file

This commit is contained in:
LongYinan 2022-01-18 13:41:01 +08:00
parent 859b422ba8
commit 63a16d0a27
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -250,7 +250,7 @@ export class BuildCommand extends Command {
const forwardArgs = process.platform === 'win32' ? '%*' : '$@'
await writeFileAsync(
linkerWrapperShell,
`node ${linkerWrapper} ${forwardArgs}`,
`#!/bin/sh\nnode ${linkerWrapper} ${forwardArgs}`,
{
mode: '777',
},