Skip to content
Snippets Groups Projects
Unverified Commit 31096132 authored by Dan Callahan's avatar Dan Callahan
Browse files

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: default avatarDan Callahan <danc@element.io>
parent 9d0f9d51
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ set -e
apt-get update
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
matrix-synapse matrix-synapse/report-stats boolean false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment