From d5022ffb57247496d9190c6fcba94d74ed3e6fd2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 17 Apr 2022 21:49:01 +0100 Subject: fixed bootstrap links --- xibuild/build_all.sh | 2 +- xibuild/build_package.sh | 4 ++-- xibuild/build_profile | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'xibuild') diff --git a/xibuild/build_all.sh b/xibuild/build_all.sh index 755c528..a0adbbc 100755 --- a/xibuild/build_all.sh +++ b/xibuild/build_all.sh @@ -86,7 +86,7 @@ while true; do printf "${ERROR} Something went wrong!${NEUTRAL} Press enter to view recent log" read out; - less $(ls -1 --sort time $XIB_EXPORT/repo/*/*.log | head -1 | xargs realpath) + less $(ls -t1 $XIB_EXPORT/repo/*/*.log | head -1 | xargs realpath) read -p "Retry build? [Y/n]" response if [ "$response" = "n" ]; then diff --git a/xibuild/build_package.sh b/xibuild/build_package.sh index e09aecd..b430738 100755 --- a/xibuild/build_package.sh +++ b/xibuild/build_package.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash GREEN="\033[0;32m" BLUE="\033[0;34m" @@ -70,7 +70,7 @@ fetch_source () { extract $downloaded_file # if the extracted file only had one directory - if [ "$(ls -l | wc -l)" = "3" ]; then + if [ "$(ls -1 | wc -l)" = "2" ]; then for file in */* */.*; do echo $file | grep -q '\.$' || mv $file . done; diff --git a/xibuild/build_profile b/xibuild/build_profile index 0997928..04c2ceb 100644 --- a/xibuild/build_profile +++ b/xibuild/build_profile @@ -1,3 +1,5 @@ +export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin + apply_patches () { for p in *.patch; do echo "Applying $p" @@ -7,7 +9,6 @@ apply_patches () { export JOBS=$(grep "processor" /proc/cpuinfo | wc -l) export HOME=/root -export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin export MAKEFLAGS="-j$JOBS" export XORG_PREFIX="/usr" -- cgit v1.2.1