1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00

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
ams_dir = argv[1]
target = '' if argv[2] == 'release' else ('_%s' % argv[2])
revision = int(argv[3], 16)
revision = int(argv[3][:8], 16)
major = int(argv[4])
minor = int(argv[5])
micro = int(argv[6])