]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build.py: Fix directory to an absolute path in the debugging instructions
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 09:45:13 +0000 (11:45 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 09:45:13 +0000 (11:45 +0200)
debian_build.py

index 69b42517b3973dc38449c3776b258599b1ae0374..f723bce29f0556cf590e2383d4c95a1faa07ddfd 100755 (executable)
@@ -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 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')