Skip to content

Commit

Permalink
Update qt and fix update-qt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thestr4ng3r committed Mar 5, 2019
1 parent 56db09a commit bcf7793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ${PATCHELF_SRC_DIR}_target=PATCHELF_SRC

QT_BIN_FILE=cutter-deps-qt.tar.gz
QT_BIN_URL=https://github.com/radareorg/cutter-deps-qt/releases/download/v5/cutter-deps-qt-${PLATFORM}.tar.gz
QT_BIN_MD5_linux=5fca6c7a38d71b041860ffed7289e692
QT_BIN_MD5_linux=4155bfd8299eea3a0eacb1542419eee8
QT_BIN_MD5_macos=95d8a9b8cabc7d5c1b75ae4dc959a178
QT_BIN_MD5_win=TODO
QT_BIN_MD5=${QT_BIN_MD5_${PLATFORM}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
print(f"Failed to download {platform_url}, skipping.")
continue

md5sum = re.fullmatch("([a-zA-Z0-9]+)( -)?\n?", md5sum).group(1)
md5sum = re.fullmatch("([a-zA-Z0-9]+)( +-)?\n?", md5sum).group(1)

print(f"MD5: {md5sum}")
makefile = re.sub(f"^QT_BIN_MD5_{platform}.*$", f"QT_BIN_MD5_{platform}={md5sum}".replace("\\", r"\\"), makefile, flags=re.MULTILINE)
Expand Down

0 comments on commit bcf7793

Please sign in to comment.