summaryrefslogtreecommitdiff
path: root/xibuild
diff options
context:
space:
mode:
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