diff options
author | davidovski <david@davidovski.xyz> | 2022-04-17 21:49:01 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-17 21:49:01 +0100 |
commit | d5022ffb57247496d9190c6fcba94d74ed3e6fd2 (patch) | |
tree | 6aee11b6def01659ba92ecde275fb071bad3eef7 /xibuild | |
parent | f3eb890b34d7e50727db601e357049a8848fc5ad (diff) |
fixed bootstrap links
Diffstat (limited to 'xibuild')
-rwxr-xr-x | xibuild/build_all.sh | 2 | ||||
-rwxr-xr-x | xibuild/build_package.sh | 4 | ||||
-rw-r--r-- | xibuild/build_profile | 3 |
3 files changed, 5 insertions, 4 deletions
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" |