Fix shellcheck warnings

This commit is contained in:
a1346054 2021-08-22 20:22:34 +00:00
parent 252ba46d5c
commit f827d5232d
No known key found for this signature in database
GPG Key ID: D149AD21DC40440C
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
# Run OnionShare desktop, allowing you to use command-line arguments
SCRIPTS_DIR="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
cd $SCRIPTS_DIR
SCRIPTS_DIR=$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )
cd "$SCRIPTS_DIR"
cd ../src
python -c "import onionshare; onionshare.main()" $@

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=`cat ../cli/onionshare_cli/resources/version.txt`
VERSION=$(cat ../cli/onionshare_cli/resources/version.txt)
# Supported locales
LOCALES="en fi pl pt_BR ru tr uk"