mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 00:59:25 -05:00
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:
parent
898e3be4c9
commit
6c736fa472
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user