#!/bin/sh # vim: ft=sh set -e . common if [ -n "$CLEAN" ]; then echo_stage "Remove root" flock --exclusive "$WORKSPACE/root.lock" uroot rm -rf "$WORKSPACE/root" exit 0 fi # TODO get latest uri from latest-releases.yml file flock --exclusive "$WORKSPACE/root.lock" /bin/sh -se <