summary refs log tree commit diff
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 6ed2b39898..f312f0715f 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