Skip to content
Snippets Groups Projects
Commit e096d88c authored by Brian Tarricone's avatar Brian Tarricone
Browse files

xfce-do-release: fix quoting for xfce-build command

Without this, the first command in the list gets run in xfce-build, but
the rest get run outside the container on the host system.
parent 7a9ac432
No related branches found
No related tags found
1 merge request!128xfce-do-release: fix quoting for xfce-build command
Pipeline #31070 canceled
......@@ -337,7 +337,7 @@ run_steps () {
if [[ "$TAG" == "xfce-build" ]]; then
# turn the array into a single argument to pass to 'xfce-build',
# stripping any '-j' arguments
dist_commands=("xfce-build $(join_by ' \&\& ' "${dist_commands[@]}" | sed -e 's/-j[0-9]*//')")
dist_commands=("xfce-build \"$(join_by ' \&\& ' "${dist_commands[@]}" | sed -e 's/-j[0-9]*//')\"")
elif [ -n "$TAG" ]; then
# prefix each element with 'xfce-test call '
dist_commands=("${dist_commands[@]/#/xfce-test call }")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment