diff options
author | Carl Dong <contact@carldong.me> | 2019-10-02 14:34:44 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2019-10-08 13:39:10 -0400 |
commit | 71949a97a7d050d4cd511731062a9ffe471ac438 (patch) | |
tree | ddfdea2ff2619a601d9945253e8a1613b109f727 | |
parent | 999a9a5f5b4165dbdcb032c8d58c0ac1085ddcd1 (diff) |
gitian: Eliminate rename dependency
-rw-r--r-- | contrib/gitian-descriptors/gitian-win.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gitian-descriptors/gitian-win.yml b/contrib/gitian-descriptors/gitian-win.yml index 59a1fae447..c30e0466a6 100644 --- a/contrib/gitian-descriptors/gitian-win.yml +++ b/contrib/gitian-descriptors/gitian-win.yml @@ -22,7 +22,6 @@ packages: - "zip" - "ca-certificates" - "python3" -- "rename" remotes: - "url": "https://github.com/bitcoin/bitcoin.git" "dir": "bitcoin" @@ -154,8 +153,10 @@ script: | make ${MAKEOPTS} -C src check-security make deploy 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 mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/ find . -name "lib*.la" -delete |