Skip to content

Commit c9321cd

Browse files
committed
create temp dir
1 parent 6cbc70a commit c9321cd

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sbuild/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sbuild"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors.workspace = true
55
license.workspace = true
66
edition.workspace = true

sbuild/src/builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,8 @@ impl Builder {
396396
) -> bool {
397397
env::set_current_dir(&context.outdir).unwrap();
398398

399+
fs::create_dir_all(&context.tmpdir).unwrap();
400+
399401
// if the builder is invoked from soar, need to find a better way to install
400402
// build utils
401403
if self.external {
@@ -637,7 +639,6 @@ impl Builder {
637639
"{} -> Dynamic AppImage. Attempting to convert it to static.",
638640
&provide_path.display()
639641
));
640-
fs::create_dir_all("SBUILD_TEMP").unwrap();
641642
let tmp_path = "SBUILD_TEMP/squashfs_tmp/";
642643
let file_path = &provide_path.to_string_lossy().to_string();
643644
let env_vars = context.env_vars(&self.soar_env.bin_path);

0 commit comments

Comments
 (0)