diff options
| author | rorka <rorka@rorka.my.domain> | 2026-06-23 20:38:02 +0300 |
|---|---|---|
| committer | rorka <rorka@rorka.my.domain> | 2026-06-23 20:38:02 +0300 |
| commit | 3c2bec16cf37437759004bdf240fa6c85bc9e428 (patch) | |
| tree | 42c760a8dcd878cfee91c41958874c23b8bc7889 /src/update.rs | |
| parent | f726a6920d85f149efeae9ca1624138e9e374938 (diff) | |
| download | ror-3c2bec16cf37437759004bdf240fa6c85bc9e428.tar.gz ror-3c2bec16cf37437759004bdf240fa6c85bc9e428.zip | |
refactor: optimize package extraction and harden path traversal protection
Diffstat (limited to 'src/update.rs')
| -rwxr-xr-x[-rw-r--r--] | src/update.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update.rs b/src/update.rs index 9703d7a..1cceccc 100644..100755 --- a/src/update.rs +++ b/src/update.rs @@ -130,7 +130,7 @@ pub fn rebuild_from_recipe(recipe_path: &Path, cfg: &config::Config) { group.packages.len() ); - let order = match collect_install_order(&group.packages) { + let order = match collect_install_order(&group.packages, &cfg.global.libc) { Ok(o) => o, Err(e) => { eprintln!("{} {}", "[ror]".red().bold(), e); @@ -176,3 +176,4 @@ pub fn rebuild_from_recipe(recipe_path: &Path, cfg: &config::Config) { ); } } + |