aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/python.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-14 16:37:15 -0500
commitd6de6e3bc5bc4d5f3c8799df33d876116bddef14 (patch)
tree3ada7dd247cdc9fa1f6085d06a36e1b542f4e0b8 /chapter8/python.sh
parente5cb063449df5491af4861744b80c6ea40e7cac3 (diff)
Use AND lists and remove set -e
Diffstat (limited to 'chapter8/python.sh')
-rw-r--r--chapter8/python.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/chapter8/python.sh b/chapter8/python.sh
index f1ff5ec..a04a3d4 100644
--- a/chapter8/python.sh
+++ b/chapter8/python.sh
@@ -1,19 +1,18 @@
#!/bin/bash
-set -e
-sed 's|cpython/||' -i Include/cpython/pystate.h
+sed 's|cpython/||' -i Include/cpython/pystate.h &&
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
- --with-ensurepip=yes
+ --with-ensurepip=yes &&
-make
+make &&
-make -j1 install
+make -j1 install &&
-install -v -dm755 /usr/share/doc/python-"${VERSION}"/html
+install -v -dm755 /usr/share/doc/python-"${VERSION}"/html &&
tar --strip-components=1 \
--no-same-owner \