From 270b14ed6316732608a5224478e289d33aee46a7 Mon Sep 17 00:00:00 2001
From: 0x1eef <0x1eef@protonmail.com>
Date: Sat, 11 May 2024 23:23:57 -0300
Subject: [PATCH] ${SOURCEZAP_GITURL} -> ${SOURCEZAP_CLONEURL}
---
README.md | 2 +-
bin/sourcezap | 2 +-
man/man8/sourcezap.8 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 2cb06a1..e9ab280 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ the first time:
### ENVIRONMENT
-* __$SOURCEZAP\_GITURL__
+* __$SOURCEZAP\_CLONEURL__
The URL to a git repository.
Default: https://git.HardenedBSD.org/HardenedBSD/HardenedBSD.git.
diff --git a/bin/sourcezap b/bin/sourcezap
index 88389bb..fe642cd 100755
--- a/bin/sourcezap
+++ b/bin/sourcezap
@@ -6,7 +6,7 @@ set -e
localbase="${LOCALBASE:-/usr/local}"
defaultbranch="hardened/14-stable/master"
gitdir="/home/_sourcezap/src"
-giturl="${SOURCEZAP_GITURL:-https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git}"
+giturl="${SOURCEZAP_CLONEURL:-https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git}"
installdir="${SOURCEZAP_INSTALLDIR:-/usr/src}"
revision="${installdir}"/.sourcezap
libexec="${localbase}"/libexec/sourcezap
diff --git a/man/man8/sourcezap.8 b/man/man8/sourcezap.8
index fcbac1b..c4ca341 100644
--- a/man/man8/sourcezap.8
+++ b/man/man8/sourcezap.8
@@ -57,7 +57,7 @@ This command requires root privileges.
.Sh ENVIRONMENT
.sp
.sp
-.Nm SOURCEZAP_GITURL
+.Nm SOURCEZAP_CLONEURL
.br
The URL to a git repository.
.br