aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2019-10-29 14:49:14 -0400
committerCarl Dong <contact@carldong.me>2019-10-29 15:12:52 -0400
commit3b3b93174a216961f935b63b03732fbc2821ff92 (patch)
tree2571723ca85287dd9468c7e43189892059e1c28e /contrib
parent6a97e8a060f7632bbaee27d3de8035dc6ebe3895 (diff)
nsis: Write to correct filename in first place
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gitian-descriptors/gitian-win.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/gitian-descriptors/gitian-win.yml b/contrib/gitian-descriptors/gitian-win.yml
index d600af84fb..1c3d6a8dc8 100644
--- a/contrib/gitian-descriptors/gitian-win.yml
+++ b/contrib/gitian-descriptors/gitian-win.yml
@@ -145,10 +145,7 @@ script: |
make ${MAKEOPTS} -C src check-security
make deploy
make install DESTDIR=${INSTALLPATH}
- (
- SETUP_EXE="$(basename "$(echo ./*-setup.exe)")"
- cp -f "$SETUP_EXE" "${OUTDIR}/${SETUP_EXE/%-setup.exe/-setup-unsigned.exe}"
- )
+ cp -f --target-directory="${OUTDIR}" ./bitcoin-*-setup-unsigned.exe
cd installed
mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
find . -name "lib*.la" -delete