We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea42c5f + 48461ae commit 3b602beCopy full SHA for 3b602be
1 file changed
src/bin/tectonic/v2cli/commands/bundle/actions.rs
@@ -82,7 +82,7 @@ pub(super) fn select(cli: &BundleCreateCommand) -> Result<()> {
82
83
// Check output hash
84
{
85
- let mut file = File::open(cli.build_dir.join("content/SHA256SUM"))?;
+ let mut file = File::open(build_dir.join("content/SHA256SUM"))?;
86
let mut hash = String::new();
87
file.read_to_string(&mut hash)?;
88
let hash = hash.trim();
@@ -107,7 +107,7 @@ pub(super) fn pack(cli: &BundleCreateCommand) -> Result<()> {
107
108
let build_dir = cli.build_dir.join(&bundle_config.bundle.name);
109
110
- if !cli.build_dir.join("content").is_dir() {
+ if !build_dir.join("content").is_dir() {
111
error!(
112
"content directory `{}/content` doesn't exist, can't continue",
113
build_dir.to_str().unwrap()
0 commit comments