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>
This commit is contained in:
Dan Callahan 2021-10-21 23:10:14 +01:00
parent 6a9d84a676
commit dfa6143133
No known key found for this signature in database
GPG key ID: 5FAD56482D9EB851

View file

@ -8,7 +8,8 @@ cd "$DIR/.." || exit
mkdir -p demo/etc
export PYTHONPATH=$(readlink -f "$(pwd)")
PYTHONPATH=$(readlink -f "$(pwd)")
export PYTHONPATH
echo $PYTHONPATH