parent
2ac50177a6
commit
f12c6c1ed1
|
@ -204,13 +204,13 @@ pub fn archive_snapshot_package(snapshot_package: &AccountsPackage) -> Result<()
|
||||||
let args = vec![
|
let args = vec![
|
||||||
archive_options,
|
archive_options,
|
||||||
archive_path.to_str().unwrap(),
|
archive_path.to_str().unwrap(),
|
||||||
|
"--use-compress-program",
|
||||||
|
compression_option,
|
||||||
"-C",
|
"-C",
|
||||||
staging_dir.path().to_str().unwrap(),
|
staging_dir.path().to_str().unwrap(),
|
||||||
TAR_ACCOUNTS_DIR,
|
TAR_ACCOUNTS_DIR,
|
||||||
TAR_SNAPSHOTS_DIR,
|
TAR_SNAPSHOTS_DIR,
|
||||||
TAR_VERSION_FILE,
|
TAR_VERSION_FILE,
|
||||||
"-I",
|
|
||||||
compression_option,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let output = std::process::Command::new("tar").args(&args).output()?;
|
let output = std::process::Command::new("tar").args(&args).output()?;
|
||||||
|
|
Loading…
Reference in New Issue