summaryrefslogtreecommitdiff
path: root/xibuild/build_all.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-24 11:16:43 +0000
committerdavidovski <david@davidovski.xyz>2022-02-24 11:16:43 +0000
commitb8ed545a143872e641bd4728aad98279f4a4a311 (patch)
treea267af180c96c23d2e1a7baafcd837f07b254b0c /xibuild/build_all.sh
parenta0711a7be35f6efc10d23169e22a73e38cff1e90 (diff)
made scripts posix compatible
Diffstat (limited to 'xibuild/build_all.sh')
-rwxr-xr-xxibuild/build_all.sh4
1 files changed, 2 insertions, 2 deletions
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