Skip to content

Commit 6b2ee26

Browse files
committed
Merge #15562: doc: remove duplicate clone step in build-windows.md
5bd0788 doc: correct path in build-windows.md (Ferdinando M. Ametrano) Pull request description: Replaces #15550, remove duplicate clone and `cd` into `bitcoin/`. Tree-SHA512: d1f59906910b07c57f6aec75c89687a8cc2f0e677f9dac02b8fea5a4afd3f7903fabbf243403c239028e9bbf99aabfd36c8ebe8857956afeb06157ac546517e7
2 parents ff38148 + 5bd0788 commit 6b2ee26

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

doc/build-windows.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ If you want to build the windows installer with `make deploy` you need [NSIS](ht
7171

7272
sudo apt install nsis
7373

74+
Acquire the source in the usual way:
75+
76+
git clone https://github.com/bitcoin/bitcoin.git
77+
cd bitcoin
78+
7479
## Building for 64-bit Windows
7580

7681
The first step is to install the mingw-w64 cross-compilation tool chain:
@@ -87,11 +92,7 @@ Note that for WSL the Bitcoin Core source path MUST be somewhere in the default
8792
example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
8893
This means you cannot use a directory that is located directly on the host Windows file system to perform the build.
8994

90-
Acquire the source in the usual way:
91-
92-
git clone https://github.com/bitcoin/bitcoin.git
93-
94-
Once the source code is ready the build steps are below:
95+
Build using:
9596

9697
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
9798
cd depends
@@ -115,11 +116,7 @@ Note that for WSL the Bitcoin Core source path MUST be somewhere in the default
115116
example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
116117
This means you cannot use a directory that located directly on the host Windows file system to perform the build.
117118

118-
Acquire the source in the usual way:
119-
120-
git clone https://github.com/bitcoin/bitcoin.git
121-
122-
Then build using:
119+
Build using:
123120

124121
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
125122
cd depends

0 commit comments

Comments
 (0)