diff options
author | Dan Callahan <danc@element.io> | 2021-10-21 23:10:14 +0100 |
---|---|---|
committer | Dan Callahan <danc@element.io> | 2021-10-22 23:08:54 +0100 |
commit | dfa61431330075f21589a4799fa2d52a42eb6ccc (patch) | |
tree | 289baf0c47b702ce5d7463d6aa61dbe0deceefd0 | |
parent | Fix Shellcheck SC2166: test -a is not well defined (diff) | |
download | synapse-dfa61431330075f21589a4799fa2d52a42eb6ccc.tar.xz |
Fix Shellcheck SC2155: Declare + export separately
Declare and assign separately to avoid masking return values. https://github.com/koalaman/shellcheck/wiki/SC2155 Signed-off-by: Dan Callahan <danc@element.io>
-rwxr-xr-x | demo/start.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/start.sh b/demo/start.sh index e426094994..28ea1b1cb6 100755 --- a/demo/start.sh +++ b/demo/start.sh @@ -8,7 +8,8 @@ cd "$DIR/.." || exit mkdir -p demo/etc -export PYTHONPATH=$(readlink -f "$(pwd)") +PYTHONPATH=$(readlink -f "$(pwd)") +export PYTHONPATH echo $PYTHONPATH |