pkg3: fix build when revision collides with a previous commit

This commit is contained in:
Michael Scire 2021-09-19 11:07:23 -07:00
parent 296d049257
commit 006f8022c0

View File

@ -140,7 +140,7 @@ def main(argc, argv):
# Parse arguments # Parse arguments
ams_dir = argv[1] ams_dir = argv[1]
target = '' if argv[2] == 'release' else ('_%s' % argv[2]) target = '' if argv[2] == 'release' else ('_%s' % argv[2])
revision = int(argv[3], 16) revision = int(argv[3][:8], 16)
major = int(argv[4]) major = int(argv[4])
minor = int(argv[5]) minor = int(argv[5])
micro = int(argv[6]) micro = int(argv[6])