diff --git a/README.md b/README.md index 553142a..6d4196c 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ the first time: #### Environment -* __$PORTZAP\_GITURL__
- The URL to a git repository
+* __$PORTZAP\_CLONEURL__
+ The URL of a git repository
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git * __$PORTZAP\_INSTALLDIR__
diff --git a/bin/portzap b/bin/portzap index f4ae801..2953e88 100755 --- a/bin/portzap +++ b/bin/portzap @@ -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 diff --git a/man/man8/portzap.8 b/man/man8/portzap.8 index a12c0fd..8fd59a8 100644 --- a/man/man8/portzap.8 +++ b/man/man8/portzap.8 @@ -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