mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 07:43:48 +01:00
Fix Shellcheck SC2046: Quote to prevent word split
Quote this to prevent word splitting https://www.shellcheck.net/wiki/SC2046 Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
parent
12d79ff1b6
commit
64adbb7b54
8 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Test for the export-data admin command against sqlite and postgres
|
# Test for the export-data admin command against sqlite and postgres
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
cd `dirname $0`/../..
|
cd "`dirname $0`/../.."
|
||||||
|
|
||||||
echo "--- Install dependencies"
|
echo "--- Install dependencies"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
cd `dirname $0`/../..
|
cd "`dirname $0`/../.."
|
||||||
|
|
||||||
echo "--- Install dependencies"
|
echo "--- Install dependencies"
|
||||||
|
|
||||||
|
|
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=`ls "/debs/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
|
||||||
|
|
|
@ -8,7 +8,7 @@ cd "$DIR/.." || exit
|
||||||
|
|
||||||
mkdir -p demo/etc
|
mkdir -p demo/etc
|
||||||
|
|
||||||
export PYTHONPATH=$(readlink -f $(pwd))
|
export PYTHONPATH=$(readlink -f "$(pwd)")
|
||||||
|
|
||||||
|
|
||||||
echo $PYTHONPATH
|
echo $PYTHONPATH
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
# terminators are found, 0 otherwise.
|
# terminators are found, 0 otherwise.
|
||||||
|
|
||||||
# cd to the root of the repository
|
# cd to the root of the repository
|
||||||
cd `dirname $0`/.. || exit
|
cd "`dirname $0`/.." || exit
|
||||||
|
|
||||||
# Find and print files with non-unix line terminators
|
# Find and print files with non-unix line terminators
|
||||||
if find . -path './.git/*' -prune -o -type f -print0 | xargs -0 grep -I -l $'\r$'; then
|
if find . -path './.git/*' -prune -o -type f -print0 | xargs -0 grep -I -l $'\r$'; then
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Exits with 0 if there are no problems, or another code otherwise.
|
# Exits with 0 if there are no problems, or another code otherwise.
|
||||||
|
|
||||||
# cd to the root of the repository
|
# cd to the root of the repository
|
||||||
cd `dirname $0`/.. || exit
|
cd "`dirname $0`/.." || exit
|
||||||
|
|
||||||
# Restore backup of sample config upon script exit
|
# Restore backup of sample config upon script exit
|
||||||
trap "mv docs/sample_config.yaml.bak docs/sample_config.yaml" EXIT
|
trap "mv docs/sample_config.yaml.bak docs/sample_config.yaml" EXIT
|
||||||
|
|
|
@ -60,5 +60,5 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y devscripts
|
||||||
|
|
||||||
# Update the Debian changelog.
|
# Update the Debian changelog.
|
||||||
ver=${1}
|
ver=${1}
|
||||||
dch -M -v $(sed -Ee 's/(rc|a|b|c)/~\1/' <<<$ver) "New synapse release $ver."
|
dch -M -v "$(sed -Ee 's/(rc|a|b|c)/~\1/' <<<$ver)" "New synapse release $ver."
|
||||||
dch -M -r -D stable ""
|
dch -M -r -D stable ""
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd `dirname $0`/..
|
cd "`dirname $0`/.."
|
||||||
|
|
||||||
SAMPLE_CONFIG="docs/sample_config.yaml"
|
SAMPLE_CONFIG="docs/sample_config.yaml"
|
||||||
SAMPLE_LOG_CONFIG="docs/sample_log_config.yaml"
|
SAMPLE_LOG_CONFIG="docs/sample_log_config.yaml"
|
||||||
|
|
Loading…
Reference in a new issue