From b8ed545a143872e641bd4728aad98279f4a4a311 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 24 Feb 2022 11:16:43 +0000 Subject: made scripts posix compatible --- xibuild/build_all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xibuild/build_all.sh') diff --git a/xibuild/build_all.sh b/xibuild/build_all.sh index dfeccd2..ee266fe 100755 --- a/xibuild/build_all.sh +++ b/xibuild/build_all.sh @@ -32,7 +32,7 @@ run_postinstall () { # install_package () { printf "${INFO}${TABCHAR}install " - xi -nyulq -r ${XIB_CHROOT} install $1 >> printf "${PASS}${CHECKMARK}\n" + xi -nyulq -r ${XIB_CHROOT} install $1 && printf "${PASS}${CHECKMARK}\n" } # build a package by its name @@ -74,7 +74,7 @@ if build_all; then exit 0 else printf "${ERROR} Something went wrong!${NEUTRAL} Press enter to view recent log" - read; + read out; less $(ls -1 --sort time $XIB_EXPORT/repo/*/*.log | head -1 | xargs realpath) exit 1 -- cgit v1.2.1