From d2eea33999c3a7a6f721a4505b7e6f1846397c94 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 May 2024 17:00:03 -0300 Subject: [PATCH] s|PORTZAP_GITURL|PORTZAP_CLONEURL|g --- README.md | 4 ++-- bin/portzap | 2 +- man/man8/portzap.8 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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