From f084197c34ad5996d3efe04d74fce817d00a8fcb Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Fri, 6 Jun 2014 17:17:48 +0200 Subject: [PATCH] debian_build.py: Put modified changes file into same directory than the original. --- debian_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index f255dfb..fc7b87f 100755 --- a/debian_build.py +++ b/debian_build.py @@ -118,7 +118,8 @@ def upload_to_apt_repository(apt_target, apt_dist, changes_file, logger): logger.warn('%s failed.' % command) figlet('apt01 upload failed') return - new_changes_file = os.path.join(ENV['WORKSPACE'], apt_target + '.changes') + (head, tail) = os.path.split(changes_file) + new_changes_file = head + '_apt01' + tail filehandle = open(new_changes_file, 'w') filehandle.write(changes) filehandle.close() -- 2.39.5