From 490a06e7512ffc5e10667ee48a9d5806c4048df4 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 24 Jul 2014 13:31:54 +0200 Subject: [PATCH] debian_build.py: Fix absolute path generation --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 20c0186..b34c81b 100755 --- a/debian_build.py +++ b/debian_build.py @@ -754,8 +754,8 @@ if __name__ == '__main__': logger.warn('%s failed.' % command) figlet('Legacy upload failed') exit_error() - (head, tail) = os.path.abspath(os.path.splitext(changes_file)) - legacy_changes_file = head + '_alexandria' + tail + (head, tail) = os.path.splitext(changes_file) + legacy_changes_file = os.path.abspath(head) + '_alexandria' + tail filehandle = open(legacy_changes_file, 'w') filehandle.write(changes) filehandle.close() -- 2.39.5