mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
Fix Shellcheck SC2012: Use find instead of ls
Use find instead of ls to better handle non-alphanumeric filenames. https://github.com/koalaman/shellcheck/wiki/SC2012 Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
parent
9d0f9d51d5
commit
31096132c3
1 changed files with 1 additions and 1 deletions
2
debian/test/provision.sh
vendored
2
debian/test/provision.sh
vendored
|
@ -10,7 +10,7 @@ set -e
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y lsb-release
|
apt-get install -y lsb-release
|
||||||
|
|
||||||
deb=`ls "/debs/matrix-synapse-py3_*+$(lsb_release -cs)*.deb" | sort | tail -n1`
|
deb=`find /debs -name "matrix-synapse-py3_*+$(lsb_release -cs)*.deb" | sort | tail -n1`
|
||||||
|
|
||||||
debconf-set-selections <<EOF
|
debconf-set-selections <<EOF
|
||||||
matrix-synapse matrix-synapse/report-stats boolean false
|
matrix-synapse matrix-synapse/report-stats boolean false
|
||||||
|
|
Loading…
Reference in a new issue