From 36d8ad208c4e75a769744e06ca55d254d029b1a9 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 18 Jan 2026 17:21:59 +0700 Subject: [PATCH] Unindent the file list --- src/bin/repo.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 960cf2e59..3b81c828c 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -593,8 +593,8 @@ fn handle_cook( let stage_dirs = get_stage_dirs(&recipe.recipe.optional_packages, &target_dir); for stage_dir in stage_dirs { if stage_dir.is_dir() { - let mut stage_files_buf = format!("{}\n", recipe.name.without_host()); - tree::walk_file_tree(&stage_dir, " ", &mut stage_files_buf) + let mut stage_files_buf = String::new(); + tree::walk_file_tree(&stage_dir, "", &mut stage_files_buf) .context("failed to walk stage files tree")?; fs::write(stage_dir.with_added_extension("files"), stage_files_buf) .context("unable to write stage files")?;