Commit 706b8329 authored by intrigeri's avatar intrigeri
Browse files

Release process: make command work on zsh

We don't need root to measure time. At least on my system, "sudo time" fails
with "command not found". But "time sudo" works just fine.

Fixes regression introduced in bfb863f5.
parent 24c741ec
......@@ -886,8 +886,8 @@ Start building the IUKs locally:
PUPPET_TAILS_REMOTE=$(echo -n "${TAILS_REMOTE?:}" | perl -p -E 's,:tails/tails(?:[.]git)?\z,:tails/puppet-tails,')
cd "${WORK_DIR?:}"
git clone "$PUPPET_TAILS_REMOTE"
sudo \
time \
sudo \
./puppet-tails/files/jenkins/slaves/isobuilders/wrap_tails_create_iuks \
--tails-git-remote "file://${RELEASE_CHECKOUT?:}/.git" \
--tails-git-commit "${TAG?:}" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment