diff --git a/CHANGELOG.md b/CHANGELOG.md index fec32a4a..4b3e8a29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Please ADD ALL Changes to the UNRELEASED SECTION and not a specific release ### Changed - GEOIP - Updated GEOIP DB from MaxMind (2026-06-03) - Replace raw echo with standard output helpers (die/info/success) in github/cancel-workflows +- Replace raw echo with standard output helpers (die/info/success) in git/update-repos-personal ### Deprecated ### Removed ### Deployment Changes diff --git a/git/update-repos-personal b/git/update-repos-personal index 21734a1e..8fe0bd1a 100755 --- a/git/update-repos-personal +++ b/git/update-repos-personal @@ -1,14 +1,16 @@ -#! /bin/sh - +#!/bin/sh die() { - echo - echo "$@" + printf '\n\033[31m✗\033[0m %s\n' "$*" >&2 exit 1 } +info() { + printf '\n\033[32m→\033[0m %s\n' "$*" +} + BASEDIR="$(dirname "$(readlink -f "$0")")" -echo "Script Dir: $BASEDIR" +info "Script Dir: $BASEDIR" REPOS=personal WORKDIR=$HOME/work/$REPOS