From e35245a4f72136aad1f0d5a54d005892ff2d929a Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 17:38:38 +0000 Subject: fixed bootstrap --- xibuild/build_all.sh | 1 - xibuild/build_package.sh | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'xibuild') diff --git a/xibuild/build_all.sh b/xibuild/build_all.sh index ee266fe..f4e30eb 100755 --- a/xibuild/build_all.sh +++ b/xibuild/build_all.sh @@ -68,7 +68,6 @@ build_all () { done } - if build_all; then printf "\n${PASS}Built all packages!\n${RESET}" exit 0 diff --git a/xibuild/build_package.sh b/xibuild/build_package.sh index a688cc3..b099542 100755 --- a/xibuild/build_package.sh +++ b/xibuild/build_package.sh @@ -58,10 +58,10 @@ fetch_source () { if [ ! -z ${SOURCE} ]; then - if git ls-remote -q $SOURCE $BRANCH 2>/dev/null; then + if git ls-remote -q $SOURCE $BRANCH > /dev/null 2>&1; then # the source is a git repo - git clone $SOURCE . 2>/dev/null - git checkout $BRANCH 2>/dev/null + git clone $SOURCE . > /dev/null 2>&1 + git checkout $BRANCH > /dev/null 2>&1 else # otherwise the source is a file -- cgit v1.2.1