From 292c1f1f180910e1cbf4c426bd75b251caedcb7d Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Sun, 30 Jan 2022 21:57:35 +0100 Subject: [PATCH] Ensure all alr runs are non-interactive --- scripts/gh-build-crate.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/gh-build-crate.sh b/scripts/gh-build-crate.sh index d4430077..38571cea 100755 --- a/scripts/gh-build-crate.sh +++ b/scripts/gh-build-crate.sh @@ -6,6 +6,9 @@ trap 'echo "Interrupted" >&2 ; exit 1' INT set -o errexit set -o nounset +# Ensure all alr runs are non-interactive +alias alr="alr -n" + # See whats happening git log --graph --decorate --pretty=oneline --abbrev-commit --all | head -30 @@ -139,7 +142,7 @@ for file in $CHANGES; do echo SKIPPING BUILD for SYSTEM crate, FETCHING only fi - alr -d -n get $milestone + alr -d get $milestone if $is_system; then echo DETECTING INSTALLED PACKAGE via crate $milestone @@ -152,7 +155,7 @@ for file in $CHANGES; do echo BUILD ENVIRONMENT alr printenv echo BUILDING CRATE - alr -d -n build + alr -d build echo LISTING EXECUTABLES of crate $milestone alr -d run --list cd ..