summaryrefslogtreecommitdiff
path: root/xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 17:38:38 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 17:38:38 +0000
commite35245a4f72136aad1f0d5a54d005892ff2d929a (patch)
treec45b55c2bc517e484c31fef511947a799afdf78f /xibuild
parentfe55aea04e6fa6914e3df635d4771fb2297dd3bd (diff)
fixed bootstrap
Diffstat (limited to 'xibuild')
-rwxr-xr-xxibuild/build_all.sh1
-rwxr-xr-xxibuild/build_package.sh6
2 files changed, 3 insertions, 4 deletions
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