Skip to content

Commit 71949a9

Browse files
committed
gitian: Eliminate rename dependency
1 parent 999a9a5 commit 71949a9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ packages:
2222
- "zip"
2323
- "ca-certificates"
2424
- "python3"
25-
- "rename"
2625
remotes:
2726
- "url": "https://github.com/bitcoin/bitcoin.git"
2827
"dir": "bitcoin"
@@ -154,8 +153,10 @@ script: |
154153
make ${MAKEOPTS} -C src check-security
155154
make deploy
156155
make install DESTDIR=${INSTALLPATH}
157-
rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe
158-
cp -f bitcoin-*setup*.exe $OUTDIR/
156+
(
157+
SETUP_EXE="$(basename "$(echo ./*-setup.exe)")"
158+
cp -f "$SETUP_EXE" "${OUTDIR}/${SETUP_EXE/%-setup.exe/-setup-unsigned.exe}"
159+
)
159160
cd installed
160161
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
161162
find . -name "lib*.la" -delete

0 commit comments

Comments
 (0)