summaryrefslogtreecommitdiff
path: root/docker/build_debian.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/build_debian.sh')
-rw-r--r--docker/build_debian.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/build_debian.sh b/docker/build_debian.sh
index 6ed2b398..f312f071 100644
--- a/docker/build_debian.sh
+++ b/docker/build_debian.sh
@@ -4,7 +4,8 @@
set -ex
-DIST=`lsb_release -c -s`
+# Get the codename from distro env
+DIST=`cut -d ':' -f2 <<< $distro`
# we get a read-only copy of the source: make a writeable copy
cp -aT /synapse/source /synapse/build