1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05:00

update self path

This commit is contained in:
Kyle Spearrin
2017-08-23 16:22:02 -04:00
parent a34e19206c
commit 9af19bfcb8
2 changed files with 6 additions and 5 deletions

View File

@ -21,8 +21,9 @@ EOF
# Setup
SCRIPT_NAME=`basename "$0"`
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_NAME=`basename "$0"`
SCRIPT_PATH="$DIR/$SCRIPT_NAME"
OUTPUT="$DIR/bitwarden"
if [ $# -eq 2 ]
then
@ -52,8 +53,8 @@ fi
# Functions
function downloadSelf() {
curl -s -o $SCRIPTS_DIR/$SCRIPT_NAME $GITHUB_BASE_URL/scripts/bitwarden.sh
chmod u+x $SCRIPTS_DIR/$SCRIPT_NAME
curl -s -o $SCRIPT_PATH $GITHUB_BASE_URL/scripts/bitwarden.sh
chmod u+x $SCRIPT_PATH
}
function downloadInstall() {