From: Magnus Jacobsson Date: Sun, 7 Jun 2020 14:04:16 +0000 (+0200) Subject: Add generation of configure.log to build.sh X-Git-Tag: 2.44.1~11^2^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f3caf1f29505e84ad140888f499d4b7478ca015;p=graphviz Add generation of configure.log to build.sh --- diff --git a/ci/build.sh b/ci/build.sh index ebd61f1bd..a89e2417a 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -14,12 +14,14 @@ else fi GV_VERSION=$( cat VERSION ) COLLECTION=$( cat COLLECTION ) +META_DATA_DIR=Metadata/${COLLECTION}/${ID}/${VERSION_ID} +mkdir -p ${META_DATA_DIR} if [ "${ID_LIKE}" = "debian" ]; then tar xfz graphviz-${GV_VERSION}.tar.gz - (cd graphviz-${GV_VERSION}; fakeroot make -f debian/rules binary) + (cd graphviz-${GV_VERSION}; fakeroot make -f debian/rules binary) | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log) else rm -rf ${HOME}/rpmbuild - rpmbuild -ta graphviz-${GV_VERSION}.tar.gz + rpmbuild -ta graphviz-${GV_VERSION}.tar.gz | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log) fi DIR=Packages/${COLLECTION}/${ID}/${VERSION_ID} ARCH=$( uname -m )