summaryrefslogtreecommitdiff
path: root/xibuild.sh
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 /xibuild.sh
parent6fa83d488f907119a2f1cd6f709d8952f694855b (diff)
fixed redirecting stderr
Diffstat (limited to 'xibuild.sh')
-rw-r--r--xibuild.sh8
1 files changed, 4 insertions, 4 deletions
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
-}
+}