From 10aeb3e5e5275cf7df4b61af5cb8b99e7c10a168 Mon Sep 17 00:00:00 2001 From: GI_Jack Date: Sun, 23 Aug 2020 21:05:15 -0400 Subject: [PATCH] changed submsg() printing from [+] to ==>, as the later is common in Arch Linux scripts --- init_image.sh | 10 +++++----- shrinkwrap_image.sh | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/init_image.sh b/init_image.sh index 2ceb16c..989760b 100755 --- a/init_image.sh +++ b/init_image.sh @@ -38,20 +38,20 @@ OPTIONS: EOF exit 4 } -message(){ +message() { echo "init_image.sh: ${@}" } -submsg(){ - echo "[+] ${@}" +submsg() { + echo "==> ${@}" } -exit_with_error(){ +exit_with_error() { echo 1>&2 "init_image.sh: ERROR: ${2}" exit ${1} } -warn(){ +warn() { echo 1>&2 "init_image.sh: WARN: ${@}" } diff --git a/shrinkwrap_image.sh b/shrinkwrap_image.sh index de32b4b..77c3e84 100755 --- a/shrinkwrap_image.sh +++ b/shrinkwrap_image.sh @@ -46,19 +46,19 @@ WARNING: This tool makes the assumption: EOF exit 4 } -message(){ +message() { echo "shrinkwrap_image.sh: ${@}" } -submsg(){ - echo "[+] ${@}" +submsg() { + echo "==> ${@}" } -warn(){ +warn() { echo 1>&2 "shrinkwrap_image.sh: WARN: ${@}" } -exit_with_error(){ +exit_with_error() { echo 1>&2 "shrinkwrap_image.sh: ERROR: ${2}" exit ${1} }