]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Simplify Sphinx tools installation
authorMichal Nowak <mnowak@isc.org>
Mon, 4 Sep 2023 18:04:43 +0000 (20:04 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 8 Sep 2023 08:18:58 +0000 (10:18 +0200)
Pointing pip3 to the "requirements file" eliminates the necessity for
removing comments.

util/release-tarball-comparison.sh

index 4fdb3544661c6164260ce5316553a2750c4a5f1c..ee006aaf2fde1ab64ec0d05de348003ca953fed2 100755 (executable)
@@ -74,7 +74,7 @@ run_in_container "git -c advice.detachedHead=false clone --branch v${BIND_VERSIO
        cd bind9 && \
        apt-get -y install --no-install-recommends python3-pip && \
        rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED && \
-       pip3 install \$(awk '!/^#/ { printf \"%s \", \$0 }' doc/arm/requirements.txt) && \
+       pip3 install -r doc/arm/requirements.txt && \
        if [ $(echo "${BIND_VERSION}" | cut -b 1-5) = 9.16. ]; then \
                git archive --prefix=${BIND_DIRECTORY}/ --output=${BIND_DIRECTORY}.tar HEAD && \
                mkdir ${BIND_DIRECTORY} && \