1#!/bin/bash 2# Script used only in CD pipeline 3 4set -ex 5 6# Pin the version to latest release 0.17.2, building newer commit starts 7# to fail on the current image 8git clone -b 0.17.2 --single-branch https://github.com/NixOS/patchelf 9cd patchelf 10sed -i 's/serial/parallel/g' configure.ac 11./bootstrap.sh 12./configure 13make 14make install 15cd .. 16rm -rf patchelf 17