Merge "Remove quotes from subshell call in bash script"

This commit is contained in:
Jenkins 2015-10-19 04:26:41 +00:00 committed by Gerrit Code Review
commit a2e4e59573
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ GREEN="$ESC[0;32m"
NO_COLOR="$ESC[0;0m"
RED="$ESC[0;31m"
PYTHON2="$(which python || true)"
PYTHON3="$(which python3 || true)"
PYTHON2=$(which python || true)
PYTHON3=$(which python3 || true)
PYTHON=${PYTHON2:-$PYTHON3}
BASE_PIP_URL=${BASE_PIP_URL:-"https://pypi.python.org/simple"}
VIRTUALENV_191_URL="https://raw.github.com/pypa/virtualenv/1.9.1/virtualenv.py"

View File

@ -1,5 +1,5 @@
#!/bin/bash
samples_unpacked_dir="$(dirname "${BASH_SOURCE[0]}" )"
samples_unpacked_dir=$(dirname "${BASH_SOURCE[0]}")
dirs=( $(find "$samples_unpacked_dir" -maxdepth 1 -type d -printf '%P\n') )
samples=~/.rally/plugins/samples
mkdir -p "$samples"