SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
lang/deno/patches/patch-cli_main_rs
Normal file
13
lang/deno/patches/patch-cli_main_rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
Index: cli/main.rs
|
||||
--- cli/main.rs.orig
|
||||
+++ cli/main.rs
|
||||
@@ -262,7 +262,8 @@ pub fn main() {
|
||||
let args: Vec<String> = env::args().collect();
|
||||
|
||||
let future = async move {
|
||||
- let current_exe_path = current_exe()?;
|
||||
+ let current_exe_path = current_exe()
|
||||
+ .unwrap_or(PathBuf::from("${LOCALBASE}/bin/deno"));
|
||||
let standalone_res =
|
||||
match standalone::extract_standalone(¤t_exe_path, args.clone())
|
||||
.await
|
Loading…
Add table
Add a link
Reference in a new issue