Format the zsh command more nicely.

This commit is contained in:
parazyd 2018-10-11 14:55:48 +02:00
parent 4da1117a3f
commit b1bb0a28ec
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 9 deletions

View File

@ -35,21 +35,15 @@ def add_job(jobname):
if sdk == 'arm':
board = info[1].split('_')[3]
zshcmd = '\
load devuan %s %s && \
%s && \
build_image_dist' % (board, blendfile, relvars)
load devuan %s %s && %s && build_image_dist' % (board, blendfile, relvars)
elif sdk == 'live':
zshcmd = '\
load devuan %s %s && \
%s && \
build_iso_dist' % (arch, blendfile, relvars)
load devuan %s %s && %s && build_iso_dist' % (arch, blendfile, relvars)
elif sdk == 'vm':
zshcmd = '\
load devuan %s && \
%s && \
build_vagrant_dist' % (blendfile, relvars)
load devuan %s && %s && build_vagrant_dist' % (blendfile, relvars)
command = "zsh -f -c 'source sdk && %s'" % zshcmd
command = html.escape(command)