diff options
author | Dan Callahan <danc@element.io> | 2021-10-21 22:58:48 +0100 |
---|---|---|
committer | Dan Callahan <danc@element.io> | 2021-10-22 23:08:54 +0100 |
commit | 6c736fa47202bcffb4f056d6e5b2f12424e9f758 (patch) | |
tree | 86375306ba44df659d44babcf9eccf753a5eb39c /docker/build_debian.sh | |
parent | Fix Shellcheck SC2064: Use single quotes on traps (diff) | |
download | synapse-6c736fa47202bcffb4f056d6e5b2f12424e9f758.tar.xz |
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>
Diffstat (limited to '')
-rw-r--r-- | docker/build_debian.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/build_debian.sh b/docker/build_debian.sh index 801ff45471..1d0be42cfc 100644 --- a/docker/build_debian.sh +++ b/docker/build_debian.sh @@ -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 |