Commit 97dc6e1c authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fix date bug and mac binary name.

Change-Id: Ia47a2467bbab0c1ee2d13d27b27b68de41813032
parent cc4bf0d5
......@@ -22,8 +22,7 @@ customSuffix = {
'MountainLion-nightlymaster-superbuild-nompi' : '10.8-NoMPI-NIGHTLY' },
'debian-x64.kitware': {'nightlymaster-superbuild' : 'glibc-2.3.6-NIGHTLY' },
'debian-x32.kitware': {'nightlymaster-superbuild' : 'glibc-2.3.6-NIGHTLY' },
'Blight.kitware' : {'ubuntu-x64-nightlymaster-superbuild' : 'glibc-2.15-NIGHTLY' },
'kamino.kitware' : {'Lion-nightlymaster-superbuild' : '10.6-10.7-NIGHTLY'}
'Blight.kitware' : {'ubuntu-x64-nightlymaster-superbuild' : 'glibc-2.15-NIGHTLY' }
}
# ----------------------------------------------------------------------------------------
......@@ -70,7 +69,7 @@ def processArgs():
suffix = arg.split("=")[1]
if arg.startswith("--yesterday"):
now = datetime.datetime.now() - datetime.timedelta(days=1)
date = "%d-%d-%d" % (now.year, now.month, now.day)
date = "%d-%02d-%d" % (now.year, now.month, now.day)
if not project:
printUsage()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment