From 636f43fea30519f5e5896bb1c4fae0db99dbf3ce Mon Sep 17 00:00:00 2001 From: debianpepper Date: Sun, 16 Jul 2023 19:59:21 +0900 Subject: [PATCH] Corrected prod copy Signed-off-by: debianpepper --- python_modules/finish_cleanup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python_modules/finish_cleanup.py b/python_modules/finish_cleanup.py index 1c8cabc0..837fa58f 100644 --- a/python_modules/finish_cleanup.py +++ b/python_modules/finish_cleanup.py @@ -134,14 +134,14 @@ def copy_iso_file_nightly_dev64(): def copy_iso_file_prod_deb64(): """ Copy the pro nightly and prep it for production push""" today = str(date.today()) - nstring = '/var/www/html/nightly/deb64/' + nstring = '/var/www/html/nightly/deb64' nightly_folder = Path( nstring ).expanduser() string_nightly = str(nightly_folder) - pstring= '/var/www/html/prod/' + pstring= '/var/www/html/prod' production_folder = Path( pstring ).expanduser() string_production = str(production_folder) - src_iso = string_nightly + 'PeppermintOS-Debian_64_' + today + '.iso' - rdes = string_nightly + 'PeppermintOS-Debian-64.iso' + src_iso = string_nightly + '/PeppermintOS-Debian_64_' + today + '.iso' + rdes = string_nightly + '/PeppermintOS-Debian-64.iso' des_iso = pstring os.rename(src_iso, rdes) shutil.copy(rdes, des_iso)