From: Benjamin Drung Date: Mon, 22 Sep 2014 09:45:13 +0000 (+0200) Subject: debian_build.py: Fix directory to an absolute path in the debugging instructions X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=df6b9d4eb82d0bbb48b633f004cd6e690452376b;p=profitbricks%2Fjenkins-build-scripts.git debian_build.py: Fix directory to an absolute path in the debugging instructions --- diff --git a/debian_build.py b/debian_build.py index 69b4251..f723bce 100755 --- a/debian_build.py +++ b/debian_build.py @@ -688,7 +688,7 @@ def main(): # .. show instructions of how to get access to the build chroot logger.info(''' ### -### In case you need to analyze the results within chroot, do the following: +### In case you need to analyze the results within a chroot, do the following: ### * login to {hostname} ### * become user {jenkins_user} (or a user which belongs to the sbuild group) ### * then execute: @@ -705,7 +705,7 @@ cd {jenkins_workspace} ### after you are done. '''.format(hostname=socket.gethostname(), jenkins_user=ENV['USER'], - jenkins_workspace=builder.dsc_dir, + jenkins_workspace=os.path.abspath(builder.dsc_dir), command=' '.join(escape_arg(arg) for arg in builder.debug_command), )) figlet('Build failed')