diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-02-14 16:29:03 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-02-14 16:29:03 +0100 |
commit | 241a4f0748bafd0c517729d135d27e09d0ac40ff (patch) | |
tree | e3d9803f179aebf2df187ad9559454ada85b7b1f /src/main.rs | |
parent | c37fd731207042e1da9666f60aad51061eb39893 (diff) |
name kernel output file after user provided flag, not the actual architecture
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 4a93169..b0c378b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,7 +137,7 @@ fn main() -> anyhow::Result<()> { fs::copy( Path::new(file_name.trim_end_matches(".tar.xz")).join(kernel_path), - format!("vmlinuz-{}", arch), + format!("vmlinuz-{}", args.arch), )?; fs::remove_file(file_name)?; |