From 144580f4ce9e352f56d05717bbcf9e5cbb865b65 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 19 May 2022 00:23:55 +0100 Subject: fixed redirecting stderr --- xi_profile.sh | 6 +++--- xibuild.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/xi_profile.sh b/xi_profile.sh index 93453cd..10a9c9a 100644 --- a/xi_profile.sh +++ b/xi_profile.sh @@ -1,6 +1,6 @@ -export CC="clang" -export CXX="clang++" -export LD="clang" +#export CC="clang" +#export CXX="clang++" +#export LD="clang" export JOBS=$(grep "processor" /proc/cpuinfo | wc -l) export MAKEFLAGS=-j$JOBS diff --git a/xibuild.sh b/xibuild.sh index e26fad5..11f1ca1 100644 --- a/xibuild.sh +++ b/xibuild.sh @@ -121,10 +121,10 @@ xibuild_build () { mkdir -p $root/$export_dir [ "$root" = "/" ] && { - sh $build_dir/xi_buildscript.sh $NAME $build_dir $checkopt || return 1 + sh $build_dir/xi_buildscript.sh $NAME $build_dir $checkopt 2>&1 || return 1 } || { - xichroot "$root" "$build_dir/xi_buildscript.sh $NAME $build_dir $checkopt" || return 1 - } 2>&1 + xichroot "$root" "$build_dir/xi_buildscript.sh $NAME $build_dir $checkopt" 2>&1 || return 1 + } } xibuild_strip () { @@ -279,4 +279,4 @@ build_package () { build_package || { printf "${RED}${CROSSMARK} Failed\n" exit 1 -} +} -- cgit v1.2.1