diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 16:37:15 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-14 16:37:15 -0500 |
commit | d6de6e3bc5bc4d5f3c8799df33d876116bddef14 (patch) | |
tree | 3ada7dd247cdc9fa1f6085d06a36e1b542f4e0b8 /chapter8/zstd.sh | |
parent | e5cb063449df5491af4861744b80c6ea40e7cac3 (diff) |
Use AND lists and remove set -e
Diffstat (limited to 'chapter8/zstd.sh')
-rw-r--r-- | chapter8/zstd.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter8/zstd.sh b/chapter8/zstd.sh index 5ca874f..8dc163c 100644 --- a/chapter8/zstd.sh +++ b/chapter8/zstd.sh @@ -1,9 +1,8 @@ #!/bin/bash -set -e -make -make prefix=/usr -j1 install +make && +make prefix=/usr -j1 install && -rm -v /usr/lib/libzstd.a -mv -v /usr/lib/libzstd.so.* /lib +rm -v /usr/lib/libzstd.a && +mv -v /usr/lib/libzstd.so.* /lib && ln -sfv ../../lib/"$(readlink /usr/lib/libzstd.so)" /usr/lib/libzstd.so |