s|PORTZAP_GITURL|PORTZAP_CLONEURL|g
This commit is contained in:
parent
80edfe0da1
commit
d2eea33999
3 changed files with 5 additions and 5 deletions
|
@ -41,8 +41,8 @@ the first time:
|
|||
|
||||
#### Environment
|
||||
|
||||
* __$PORTZAP\_GITURL__ <br>
|
||||
The URL to a git repository <br>
|
||||
* __$PORTZAP\_CLONEURL__ <br>
|
||||
The URL of a git repository <br>
|
||||
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
|
||||
|
||||
* __$PORTZAP\_INSTALLDIR__ <br>
|
||||
|
|
|
@ -6,7 +6,7 @@ set -e
|
|||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)}
|
||||
libexec="${localbase}"/libexec/portzap
|
||||
gitdir="/home/_portzap/ports"
|
||||
giturl="${PORTZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}"
|
||||
giturl="${PORTZAP_CLONEURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}"
|
||||
installdir="${PORTZAP_INSTALLDIR:-/usr/ports}"
|
||||
defaultbranch="hardenedbsd/main"
|
||||
revfile="${installdir}"/.portzap
|
||||
|
|
|
@ -58,9 +58,9 @@ This command requires root privileges
|
|||
.Sh ENVIRONMENT
|
||||
.sp
|
||||
.sp
|
||||
.Nm PORTZAP_GITURL
|
||||
.Nm PORTZAP_CLONEURL
|
||||
.br
|
||||
The URL to a git repository
|
||||
The URL of a git repository
|
||||
.br
|
||||
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
|
||||
.sp
|
||||
|
|
Loading…
Reference in a new issue