Fix Shellcheck SC2154: variable possibly undefined

var is referenced but not assigned.

https://github.com/koalaman/shellcheck/wiki/SC2154

Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
Dan Callahan 2021-10-21 22:58:48 +01:00
parent 898e3be4c9
commit 6c736fa472
No known key found for this signature in database
GPG Key ID: 5FAD56482D9EB851
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
set -ex
# Get the codename from distro env
DIST=`cut -d ':' -f2 <<< $distro`
DIST=`cut -d ':' -f2 <<< ${distro:?}`
# we get a read-only copy of the source: make a writeable copy
cp -aT /synapse/source /synapse/build