gitian: Eliminate rename dependency

This commit is contained in:
Carl Dong committed 2019-10-08 13:39:10 -04:00
1 parent 999a9a5f5b
commit 71949a97a7
1 file changed
+4 -3
+4 -3
View File
@@ -22,7 +22,6 @@ packages:
- "zip" - "zip"
- "ca-certificates" - "ca-certificates"
- "python3" - "python3"
- "rename"
remotes: remotes:
- "url": "https://github.com/bitcoin/bitcoin.git" - "url": "https://github.com/bitcoin/bitcoin.git"
"dir": "bitcoin" "dir": "bitcoin"
@@ -154,8 +153,10 @@ script: |
make ${MAKEOPTS} -C src check-security make ${MAKEOPTS} -C src check-security
make deploy make deploy
make install DESTDIR=${INSTALLPATH} make install DESTDIR=${INSTALLPATH}
rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe (
cp -f bitcoin-*setup*.exe $OUTDIR/ SETUP_EXE="$(basename "$(echo ./*-setup.exe)")"
cp -f "$SETUP_EXE" "${OUTDIR}/${SETUP_EXE/%-setup.exe/-setup-unsigned.exe}"
)
cd installed cd installed
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/ mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
find . -name "lib*.la" -delete find . -name "lib*.la" -delete