From f8e08a9f87184c325030ef7fb64be74c859589fc Mon Sep 17 00:00:00 2001 From: TEC Date: Wed, 19 Feb 2025 00:07:56 +0800 Subject: [PATCH] Switch to more portable shell shebang --- src/Apps/Apps.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Apps/Apps.jl b/src/Apps/Apps.jl index f8f9b49140..25dc2fb062 100644 --- a/src/Apps/Apps.jl +++ b/src/Apps/Apps.jl @@ -341,7 +341,7 @@ function generate_shim(pkgname, app::AppInfo, env, julia) content = if Sys.iswindows() windows_shim(pkgname, julia, env) else - bash_shim(pkgname, julia, env) + shell_shim(pkgname, julia, env) end overwrite_file_if_different(julia_bin_filename, content) if Sys.isunix() @@ -350,9 +350,9 @@ function generate_shim(pkgname, app::AppInfo, env, julia) end -function bash_shim(pkgname, julia::String, env) +function shell_shim(pkgname, julia::String, env) return """ - #!/usr/bin/env bash + #!/bin/sh $SHIM_HEADER