From 629f9406762e72bbceedde18d321521b2cf81a3a Mon Sep 17 00:00:00 2001 From: Tudor Marcu Date: Wed, 7 Sep 2016 17:21:38 -0700 Subject: [PATCH] Change version file to more appropriate name Signed-off-by: Tudor Marcu --- bundle-chroot-builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle-chroot-builder.py b/bundle-chroot-builder.py index a842a66..04ada3a 100755 --- a/bundle-chroot-builder.py +++ b/bundle-chroot-builder.py @@ -177,8 +177,8 @@ def create_chroots(args, state_dir, bundles, yum_conf): out_version = args.version build_version = args.version - if os.path.exists(state_dir + "/image/latest.version") == False: - with open(state_dir + "/image/latest.version", "w") as latestver: + if os.path.exists(state_dir + "/image/LAST_VER") == False: + with open(state_dir + "/image/LAST_VER", "w") as latestver: latestver.write("0\n") config = configparser.ConfigParser()