From c9cb04e59113a3afb1cc9fde17dc8bb27a0a315c Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 15 Apr 2021 08:32:23 -0500 Subject: Create fail and success functions and remove trailing white spaces at ends of lines. --- chapter7/cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter7/cleanup.sh') diff --git a/chapter7/cleanup.sh b/chapter7/cleanup.sh index 53ad4d4..3e4dfa3 100644 --- a/chapter7/cleanup.sh +++ b/chapter7/cleanup.sh @@ -21,6 +21,6 @@ else sudo strip --strip-unneeded "${LFS}"/tools/bin/* || true } >"${LFS}"/sources/log/chapter7/cleanup.log 2>&1 - printf "%b" "${IGRN}OK${RST}\n" + success "OK" sudo touch "${LFS}"/sources/chapter7/cleanup >/dev/null 2>&1 fi -- cgit v1.2.3-54-g00ecf