Skip to content
Permalink
Browse files

Fix OpenBSD

nqp::execname() is not '' in OpenBSD thus we still need some special
casing. Kaiepi++ for the hint.
  • Loading branch information...
patzim committed May 8, 2019
1 parent 0c8f269 commit 96e8d4f4210a3d382e9e81afe79396b825dde87d
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main.nqp
  2. +1 −1 src/perl6-debug.nqp
@@ -25,7 +25,7 @@ my $sep := $config<osname> eq 'MSWin32' ?? '\\' !! '/';
my $execname := nqp::atkey(nqp::jvmgetproperties,'perl6.execname');
#?endif
#?if !jvm
my $execname := nqp::execname();
my $execname := $config<osname> eq 'openbsd' ?? '' !! nqp::execname();
#?endif
my $install-dir := $execname eq ''
?? $comp.config<prefix>
@@ -473,7 +473,7 @@ sub MAIN(*@ARGS) {
my $execname := nqp::atkey(nqp::jvmgetproperties,'perl6.execname');
#?endif
#?if !jvm
my $execname := nqp::execname();
my $execname := $config<osname> eq 'openbsd' ?? '' !! nqp::execname();
#?endif
my $install-dir := $execname eq ''
?? $comp.config<prefix>

0 comments on commit 96e8d4f

Please sign in to comment.
You can’t perform that action at this time.