s|PORTZAP_GITURL|PORTZAP_CLONEURL|g

This commit is contained in:
0x1eef 2024-05-23 17:00:03 -03:00
parent 80edfe0da1
commit d2eea33999
3 changed files with 5 additions and 5 deletions

View file

@ -41,8 +41,8 @@ the first time:
#### Environment #### Environment
* __$PORTZAP\_GITURL__ <br> * __$PORTZAP\_CLONEURL__ <br>
The URL to a git repository <br> The URL of a git repository <br>
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
* __$PORTZAP\_INSTALLDIR__ <br> * __$PORTZAP\_INSTALLDIR__ <br>

View file

@ -6,7 +6,7 @@ set -e
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)} localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)}
libexec="${localbase}"/libexec/portzap libexec="${localbase}"/libexec/portzap
gitdir="/home/_portzap/ports" 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}" installdir="${PORTZAP_INSTALLDIR:-/usr/ports}"
defaultbranch="hardenedbsd/main" defaultbranch="hardenedbsd/main"
revfile="${installdir}"/.portzap revfile="${installdir}"/.portzap

View file

@ -58,9 +58,9 @@ This command requires root privileges
.Sh ENVIRONMENT .Sh ENVIRONMENT
.sp .sp
.sp .sp
.Nm PORTZAP_GITURL .Nm PORTZAP_CLONEURL
.br .br
The URL to a git repository The URL of a git repository
.br .br
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
.sp .sp