Skip to content

Commit

Permalink
nqp::execname() is no longer a special case on OpenBSD
Browse files Browse the repository at this point in the history
Fixes the build process.
  • Loading branch information
vrurg committed May 18, 2019
1 parent 4816277 commit bf24af8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/Process.pm6
Expand Up @@ -16,10 +16,8 @@ Rakudo::Internals.REGISTER-DYNAMIC: '$*EXECUTABLE', {
// $*VM.properties<perl6.prefix> ~ '/bin/perl6-j'
#?endif
#?if moar
# OpenBSD's security features prevent us from getting the path to our
# executable just given our PID by default.
(nqp::execname() unless $*VM.osname eq 'openbsd')
// ($*VM.config<prefix> ~ '/bin/'
nqp::execname()
|| ($*VM.config<prefix> ~ '/bin/'
~ ($*VM.config<osname> eq 'MSWin32' ?? 'perl6-m.bat' !! 'perl6-m'))
#?endif
#?if js
Expand Down

0 comments on commit bf24af8

Please sign in to comment.