summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-10-21 23:10:14 +0100
committerDan Callahan <danc@element.io>2021-10-22 23:08:54 +0100
commitdfa61431330075f21589a4799fa2d52a42eb6ccc (patch)
tree289baf0c47b702ce5d7463d6aa61dbe0deceefd0
parentFix Shellcheck SC2166: test -a is not well defined (diff)
downloadsynapse-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>
Diffstat (limited to '')
-rwxr-xr-xdemo/start.sh3
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