Restore workaround for -C in mar command
This commit is contained in:
parent
cc65ca032e
commit
39fa35ae12
2 changed files with 8 additions and 2 deletions
|
@ -112,8 +112,11 @@ append_remove_instructions "$targetdir" "$updatemanifestv3"
|
|||
|
||||
$XZ $XZ_OPT --compress $BCJ_OPTIONS --lzma2 --format=xz --check=crc64 --force "$updatemanifestv3" && mv -f "$updatemanifestv3.xz" "$updatemanifestv3"
|
||||
|
||||
mar_command="$mar_command -C \"$workdir\" -c output.mar"
|
||||
# Changed for Zotero -- -C is unreliable
|
||||
pushd "$workdir" > /dev/null
|
||||
mar_command="$mar_command -c output.mar"
|
||||
eval "$mar_command $targetfiles"
|
||||
popd > /dev/null
|
||||
mv -f "$workdir/output.mar" "$archive"
|
||||
|
||||
# cleanup
|
||||
|
|
|
@ -312,8 +312,11 @@ done
|
|||
|
||||
$XZ $XZ_OPT --compress $BCJ_OPTIONS --lzma2 --format=xz --check=crc64 --force "$updatemanifestv3" && mv -f "$updatemanifestv3.xz" "$updatemanifestv3"
|
||||
|
||||
mar_command="$mar_command -C \"$workdir\" -c output.mar"
|
||||
# Changed for Zotero -- -C is unreliable
|
||||
pushd "$workdir" > /dev/null
|
||||
mar_command="$mar_command -c output.mar"
|
||||
eval "$mar_command $archivefiles"
|
||||
popd > /dev/null
|
||||
mv -f "$workdir/output.mar" "$archive"
|
||||
|
||||
# cleanup
|
||||
|
|
Loading…
Reference in a new issue