Skip to content

Commit

Permalink
selfupdate is broken #174 : debug attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Dec 13, 2024
1 parent ea2e2d7 commit 9e87955
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion makesure.awk
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,10 @@ function selfUpdate( tmp, err, newVer,line,sha) {
break
}
}
if (!sha) err = "unable to get the latest commit"
if (!sha) {err = "unable to get the latest commit"
print "DEBUG>>>"
system("cat "tmp)
}
if (!err) {
# now download the latest executable
err = dl("https://raw.githubusercontent.com/xonixx/makesure/" sha "/makesure", tmp)
Expand Down

0 comments on commit 9e87955

Please sign in to comment.