Skip to content

Commit 0eac1f7

Browse files
committed
build: include share/rpcauth in tarball & installer
Fixes bitcoin#19081.
1 parent cf39913 commit 0eac1f7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

contrib/guix/libexec/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ mkdir -p "$DISTSRC"
369369
# has not been run before buildling, this file will be a stub
370370
cp "${DISTSRC}/share/examples/bitcoin.conf" "${DISTNAME}/"
371371

372+
cp -r "${DISTSRC}/share/rpcauth" "${DISTNAME}/share/"
373+
372374
# Finally, deterministically produce {non-,}debug binary tarballs ready
373375
# for release
374376
case "$HOST" in

share/setup.nsi.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Section -Main SEC0000
7575
File @abs_top_builddir@/release/@BITCOIN_GUI_NAME@@EXEEXT@
7676
File /oname=COPYING.txt @abs_top_srcdir@/COPYING
7777
File /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt
78+
SetOutPath $INSTDIR\share\rpcauth
79+
File @abs_top_srcdir@/share/rpcauth/*.*
7880
SetOutPath $INSTDIR\daemon
7981
File @abs_top_builddir@/release/@BITCOIN_DAEMON_NAME@@EXEEXT@
8082
File @abs_top_builddir@/release/@BITCOIN_CLI_NAME@@EXEEXT@
@@ -127,6 +129,7 @@ Section /o -un.Main UNSEC0000
127129
Delete /REBOOTOK $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
128130
Delete /REBOOTOK $INSTDIR\COPYING.txt
129131
Delete /REBOOTOK $INSTDIR\readme.txt
132+
RMDir /r /REBOOTOK $INSTDIR\share
130133
RMDir /r /REBOOTOK $INSTDIR\daemon
131134
DeleteRegValue HKCU "${REGKEY}\Components" Main
132135
SectionEnd

0 commit comments

Comments
 (0)