Fix tput stopping the workflow

This commit is contained in:
Jean-Michel Picod
2020-02-25 09:36:20 +01:00
parent 1113410195
commit 89d15f5759

View File

@@ -13,10 +13,11 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
set -ex
# Ensure the script doesn't fail on Github workflows # Ensure the script doesn't fail on Github workflows
export TERM=${TERM:-vt100} export TERM=${TERM:-vt100}
done_text="$(tput bold)DONE.$(tput sgr0)"
set -ex
# Check that rustup and pip3 are installed # Check that rustup and pip3 are installed
check_command () { check_command () {
@@ -32,8 +33,6 @@ check_command pip3
# Ensure the submodules are pulled and up-to-date # Ensure the submodules are pulled and up-to-date
git submodule update --init git submodule update --init
done_text="$(tput bold)DONE.$(tput sgr0)"
patch_conflict_detected () { patch_conflict_detected () {
cat <<EOF cat <<EOF