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
1 changed files with 2 additions and 1 deletions

View File

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