We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26999bf commit dfc6c70Copy full SHA for dfc6c70
tools/build_test_env.sh
@@ -17,20 +17,15 @@
17
PY_VER=2
18
while getopts :p: opt "$@"; do
19
case $opt in
20
- p)
21
- PY_VER=$OPTARG;;
22
- *)
23
- echo "Unknown option: $opt"
24
- exit 1;;
+ p) PY_VER=$OPTARG;;
+ *) echo "Unknown option: $opt"; exit 1;;
25
esac
26
done
27
28
case $PY_VER in
29
2) VENV_CMD=virtualenv;;
30
3) VENV_CMD=pyvenv;;
31
32
- echo "Wrong python version (2 or 3)"
33
+ *) echo "Wrong python version (2 or 3)"; exit 1;;
34
35
36
VENV=$(pwd)/.venv
0 commit comments