summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-19 00:23:55 +0100
committerdavidovski <david@davidovski.xyz>2022-05-19 00:23:55 +0100
commit144580f4ce9e352f56d05717bbcf9e5cbb865b65 (patch)
tree92503dda9f95a2cfdf63f557a4a7af84e7f507da
parent6fa83d488f907119a2f1cd6f709d8952f694855b (diff)
fixed redirecting stderr
-rw-r--r--xi_profile.sh6
-rw-r--r--xibuild.sh8
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
-}
+}