File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
set -o errexit
4
- set -o xtrace
5
4
6
- [[ $INSTALL_DEST ]]
7
- [[ $VERSION ]]
5
+ if [[ ! $INSTALL_DEST ]] ; then
6
+ echo ' Missing INSTALL_DEST'
7
+ exit 1
8
+ fi
9
+
10
+ if [[ ! $VERSION ]] ; then
11
+ echo ' Missing $VERSION'
12
+ exit 1
13
+ fi
14
+
15
+ set -o xtrace
8
16
9
17
sudo env PYTHON_BUILD_ROOT=/opt/pyenv/plugins/python-build \
10
18
/opt/pyenv/plugins/python-build/bin/python-build $VERSION $INSTALL_DEST /$VERSION
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
set -o errexit
4
- set -o xtrace
5
4
6
- [[ $LSB_RELEASE ]]
7
- [[ $INSTALL_DEST ]]
8
- [[ $VERSION ]]
5
+ if [[ ! $LSB_RELEASE ]] ; then
6
+ echo ' Missing LSB_RELEASE'
7
+ exit 1
8
+ fi
9
+
10
+ if [[ ! $INSTALL_DEST ]] ; then
11
+ echo ' Missing INSTALL_DEST'
12
+ exit 1
13
+ fi
14
+
15
+ if [[ ! $VERSION ]] ; then
16
+ echo ' Missing VERSION'
17
+ exit 1
18
+ fi
19
+
20
+ set -o xtrace
9
21
10
22
: ${TAR_PATHS:= }
11
23
: ${DEST:= ${1} }
You can’t perform that action at this time.
0 commit comments