Skip to content

Commit 74876d6

Browse files
committed
Call virtualenv directly (cht.sh)
1 parent 95e5b88 commit 74876d6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

share/cht.sh.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# count words in text counter
2525
# group elements list
2626

27-
__CHTSH_VERSION=0.0.3
28-
__CHTSH_DATETIME="2021-04-25 09:30:30 +0200"
27+
__CHTSH_VERSION=0.0.4
28+
__CHTSH_DATETIME="2021-04-25 12:30:30 +0200"
2929

3030
# cht.sh configuration loading
3131
#
@@ -199,8 +199,8 @@ EOF
199199
fi
200200

201201
_say_what_i_do Creating virtual environment
202-
"$python" "$(command -v virtualenv)" "${virtualenv_python3_option[@]}" ve \
203-
|| fatal Could not create virtual environment with "python2 $(command -v virtualenv) ve"
202+
virtualenv "${virtualenv_python3_option[@]}" ve \
203+
|| fatal "Could not create virtual environment with 'virtualenv ve'"
204204

205205
export CHEATSH_PATH_WORKDIR=$PWD
206206

tests/results/8

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# count words in text counter
2525
# group elements list
2626

27-
__CHTSH_VERSION=0.0.3
28-
__CHTSH_DATETIME="2021-04-25 09:30:30 +0200"
27+
__CHTSH_VERSION=0.0.4
28+
__CHTSH_DATETIME="2021-04-25 12:30:30 +0200"
2929

3030
# cht.sh configuration loading
3131
#
@@ -199,8 +199,8 @@ EOF
199199
fi
200200

201201
_say_what_i_do Creating virtual environment
202-
"$python" "$(command -v virtualenv)" "${virtualenv_python3_option[@]}" ve \
203-
|| fatal Could not create virtual environment with "python2 $(command -v virtualenv) ve"
202+
virtualenv "${virtualenv_python3_option[@]}" ve \
203+
|| fatal "Could not create virtual environment with 'virtualenv ve'"
204204

205205
export CHEATSH_PATH_WORKDIR=$PWD
206206

0 commit comments

Comments
 (0)