Skip to content

Commit 7a82b0c

Browse files
authored
Merge pull request #947 from sjkelly/sjk/debug_name1
use Base.julia_exename(), fixes #664
2 parents 8de526d + d652bae commit 7a82b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PackageCompiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ end
12211221

12221222
function bundle_julia_executable(dir::String)
12231223
bindir = joinpath(dir, "bin")
1224-
name = Sys.iswindows() ? "julia.exe" : "julia"
1224+
name = Base.julia_exename()
12251225
mkpath(bindir)
12261226
cp(joinpath(Sys.BINDIR::String, name), joinpath(bindir, name); force=true)
12271227
end

0 commit comments

Comments
 (0)