Skip to content

Commit

Permalink
[backend] avoid local directory in .zsync file meta when re-signing it
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jun 27, 2017
1 parent 14d83b2 commit 3ed323e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_signer
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ sub signjob {
if ($signfile =~ /\.AppImage$/ && -e "$jobdir/$signfile.zsync") {
print("regenerating zsync file\n");
# re-generate zsync data
if (system('zsyncmake', '-o', "$jobdir/$signfile.zsync.new", "$jobdir/$signfile")) {
if (system('zsyncmake', '-u', $signfile, '-o', "$jobdir/$signfile.zsync.new", "$jobdir/$signfile")) {
print("zync file recreation failed: $?\n");
unlink("$jobdir/$signfile.zsync.new");
} else {
Expand Down

0 comments on commit 3ed323e

Please sign in to comment.