-
-
Save niner/cb9189a88b41d19e1bb0bbb306f7ae15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/CompUnit/Repository/Installation.pm b/src/core/CompUnit/Repository/Installation.pm | |
index 9c23f1ca1..204b67093 100644 | |
--- a/src/core/CompUnit/Repository/Installation.pm | |
+++ b/src/core/CompUnit/Repository/Installation.pm | |
@@ -83,8 +83,8 @@ sub MAIN(:$name is copy, :$auth, :$ver, *@, *%) { | |
exit 1; | |
} | |
- %*ENV<PERL6_PROGRAM_NAME> = $*PROGRAM-NAME; | |
- exit run($*EXECUTABLE, @binaries.sort(*<ver>).tail.hash.<files><bin/#name#>, @*ARGS).exitcode | |
+ my $bin = @binaries.sort(*<ver>).tail.hash.<files><bin/#name#>; | |
+ require "$bin"; | |
}'; | |
method !sources-dir() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment