diff options
author | Ka Ho Ng <khng@FreeBSD.org> | 2021-04-22 07:04:59 +0000 |
---|---|---|
committer | Ka Ho Ng <khng@FreeBSD.org> | 2021-04-22 08:20:59 +0000 |
commit | e457b6efe37c739fdad985344a64a3ac0c4dfe6b (patch) | |
tree | 4439bdc5b4003426b859f2bedc60ff8611d1068c | |
parent | 16ca20a527bce7d537375f6fab179549c07fe723 (diff) | |
download | doc-e457b6efe37c739fdad985344a64a3ac0c4dfe6b.tar.gz doc-e457b6efe37c739fdad985344a64a3ac0c4dfe6b.zip |
books/porters-handbook: Fix numerous mismatches in section 11.1
In step 1 users were told to do "cd ~/my_ports_wrkdir" but after clone
the repository users were instead told to do "cd ~/my_wrkdir". Also, the
git command in step 2 is not followed by either of them. The mirror
sites table is outdated as well.
This fix changes the whole shell code block to use the directory name
my_wrkdir. Also, the repository URL table xref replaces the old SVN
mirror sites xref.
Reported by: Pau Amma <pauamma@gundo.com>
Approved by: 0mp
Differential Revision: https://reviews.freebsd.org/D29916
-rw-r--r-- | documentation/content/en/books/porters-handbook/upgrading/_index.adoc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/documentation/content/en/books/porters-handbook/upgrading/_index.adoc b/documentation/content/en/books/porters-handbook/upgrading/_index.adoc index 1b383ebfa0..69b161d486 100644 --- a/documentation/content/en/books/porters-handbook/upgrading/_index.adoc +++ b/documentation/content/en/books/porters-handbook/upgrading/_index.adoc @@ -87,14 +87,13 @@ When possible, please submit a man:git[1] diff. They are easier to handle than d [source,shell] .... -% cd ~/my_ports_wrkdir <.> -% git clone https://git.FreeBSD.org/ports.git <.> +% git clone https://git.FreeBSD.org/ports.git ~/my_wrkdir <.> <.> % cd ~/my_wrkdir/dns/pdnsd .... <.> This can be anywhere, of course. Building ports is not limited to within [.filename]#/usr/ports/#. -<.> https://git.FreeBSD.org/[git.FreeBSD.org] is the FreeBSD public Git server. See link:{handbook}#svn-mirrors[Subversion mirror sites] for more information. +<.> https://git.FreeBSD.org/[git.FreeBSD.org] is the FreeBSD public Git server. See link:{handbook}mirrors/#git-url-table[FreeBSD Git Repository URL Table] for more information. While in the port directory, make any changes that are needed. If adding, moving, or removing a file, use `git` to track these changes: |