Make scripts work in path that contains spaces (#4986)
This commit is contained in:
parent
bd1b7aa6ef
commit
101476df87
7 changed files with 7 additions and 7 deletions
|
@ -6,7 +6,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
source scripts/start_dev_db.sh
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
source scripts/start_dev_db.sh
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
# Format rust files
|
||||
cargo +nightly fmt
|
||||
|
|
|
@ -8,7 +8,7 @@ third_semver=$(echo $new_tag | cut -d "." -f 3)
|
|||
|
||||
# Goto the upper route
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
# The docker installs should only update for non release-candidates
|
||||
# IE, when the third semver is a number, not '2-rc'
|
||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
# Copy the files to a temp dir
|
||||
TMP_DIR=$(mktemp -d)
|
||||
|
|
|
@ -3,7 +3,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
PACKAGE="$1"
|
||||
echo "$PACKAGE"
|
||||
|
|
|
@ -3,7 +3,7 @@ set -e
|
|||
|
||||
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
||||
|
||||
cd $CWD/../
|
||||
cd "$CWD/../"
|
||||
|
||||
PACKAGE="$1"
|
||||
TEST="$2"
|
||||
|
|
Loading…
Reference in a new issue