From ba659f953d44e8a62925410ba9dbff5c9a1fd94d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 16 Jan 2023 10:49:36 +0100 Subject: [PATCH] Don't name done things "TODO" for the sake of grep TODO. --- build.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.bash b/build.bash index 6e5dab2..7e511f3 100755 --- a/build.bash +++ b/build.bash @@ -3,7 +3,7 @@ set -exo pipefail I2SRC="$1" -TODO="$2" +ACTION="$2" TAG="${3:-test}" if [ -z "$I2SRC" ]; then @@ -35,7 +35,7 @@ trap "rm -rf $TMPBLDCTX" EXIT cp -a "${BLDCTX}/." "$TMPBLDCTX" git clone "file://${I2SRC}/.git" "${TMPBLDCTX}/icinga2-src" -case "$TODO" in +case "$ACTION" in all) "${BUILDX[@]}" "${COMMON_ARGS[@]}" ;;