Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Commit acc469a

Browse files
committed
Fix space issue in create-venv
1 parent 87d6076 commit acc469a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

create-venv.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if [[ -z "$(which python3.6)" ]]; then
8484
python_file="${download_dir}/Python-3.6.8.tar.xz"
8585
if [[ ! -f "${python_file}" ]]; then
8686
python_url='https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz'
87-
curl -sSfL-o "${python_file}" "${python_url}"
87+
curl -sSfL -o "${python_file}" "${python_url}"
8888
fi
8989

9090
tar -C "${temp_dir}" -xf "${python_file}"
@@ -114,6 +114,7 @@ mkdir -p "${VENV_PATH}"
114114
# shellcheck source=/dev/null
115115
source "${VENV_PATH}/bin/activate"
116116
"${PYTHON}" -m pip install wheel
117+
"${PYTHON}" -m pip install requests
117118

118119
case $CPU_ARCH in
119120
armv7l|arm64v8)
@@ -144,7 +145,7 @@ case $CPU_ARCH in
144145
if [[ ! -f "${snowboy_file}" ]]; then
145146
snowboy_url='https://github.com/Kitt-AI/snowboy/archive/v1.3.0.tar.gz'
146147
echo "Downloading snowboy (${snowboy_url})"
147-
curl -sSfL-o "${snowboy_file}" "${snowboy_url}"
148+
curl -sSfL -o "${snowboy_file}" "${snowboy_url}"
148149
fi
149150

150151
"${PYTHON}" -m pip install "${snowboy_file}"

0 commit comments

Comments
 (0)