SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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(&current_exe_path, args.clone())
.await