summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-12-24 09:53:17 +0100
committerSergei Golubchik <serg@mariadb.org>2018-12-24 11:06:19 +0100
commit812bb1303c4a012edb8de9f6ad4c1d97d29533f6 (patch)
tree575c71f5f6dc0e4cc1d53a384207b16d252dc574 /debian
parent97181d84f9dd9870228b5f4ead2ca0d49f29d67f (diff)
downloadmariadb-git-812bb1303c4a012edb8de9f6ad4c1d97d29533f6.tar.gz
(still) Packaging is broken for debian-based systems
fix the AWS SDK build eligibility checks. followup for 779151db80d
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/autobake-deb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index a08f1a404b7..6f859aa01ef 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -102,7 +102,7 @@ fi
# AWS SDK also requires the build machine to have network access and git, so
# it cannot be part of the base version included in Linux distros, but a pure
# custom built plugin.
-if [[ $GCCVERSION -gt 40800 ]] && [[ ! $TRAVIS ]] && [[ -x "$(command -v git)" ]] && $(timeout 3s bash -c 'cat </dev/tcp/github.com/22')
+if [[ $GCCVERSION -gt 40800 ]] && [[ ! $TRAVIS ]] && [[ -x "$(command -v git)" ]] && timeout 3s bash -c 'sed -n q </dev/tcp/github.com/22'
then
cat <<EOF >> debian/control