mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 15:29:38 -05:00
Fix shellcheck warnings
This commit is contained in:
parent
252ba46d5c
commit
f827d5232d
@ -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()" $@
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user