diff options
Diffstat (limited to 'xibuild/build_package.sh')
-rwxr-xr-x | xibuild/build_package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |