~xubuntu-dev/ubuntu-cdimage/xubuntu-base

« back to all changes in this revision

Viewing changes to lib/cdimage/build_id.py

  • Committer: Adam Conrad
  • Date: 2015-08-06 08:04:06 UTC
  • Revision ID: adconrad@0c3.net-20150806080406-altjtz2xv5tubg80
Tidy up ALL_PROJECTS a bit

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    project = config.project
30
30
    if config["UBUNTU_DEFAULTS_LOCALE"] == "zh_CN":
31
31
        project = "ubuntu-chinese-edition"
 
32
    if config.distribution == "ubuntu":
 
33
        full_series = config.series
 
34
    else:
 
35
        full_series = "%s-%s" % (config.distribution, config.series)
32
36
    stamp = os.path.join(
33
37
        config.root, "etc",
34
 
        ".next-build-suffix-%s-%s-%s" % (project, config.series, image_type))
 
38
        ".next-build-suffix-%s-%s-%s" % (project, full_series, image_type))
35
39
    date = config["DATE"] or time.strftime("%Y%m%d")
36
40
 
37
41
    if config["DATE_SUFFIX"]: