From 63a16d0a27f09766a6dd557691d598758a147882 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 18 Jan 2022 13:41:01 +0800 Subject: [PATCH] fix(cli): missing shebang in zig-cross sh file --- cli/src/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/build.ts b/cli/src/build.ts index ebd32696..fba5c764 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -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', },