Skip to content

Commit

Permalink
Switch to more portable shell shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Feb 18, 2025
1 parent 92595ec commit f8e08a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Apps/Apps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit f8e08a9

Please sign in to comment.