git: 257da67d2808 - main - git-arc: Fix existence check
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 19:49:35 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=257da67d2808b7abf6c53569532ccf26db3008b0
commit 257da67d2808b7abf6c53569532ccf26db3008b0
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-11-27 19:48:31 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-11-27 19:49:08 +0000
git-arc: Fix existence check
Fixes: b3e53f9fff11 ("git-arc: Don't require devel/arcanist")
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53942
---
tools/tools/git/git-arc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
old mode 100644
new mode 100755
index f33a73334799..eef01b75663e
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -786,7 +786,7 @@ shift $((OPTIND-1))
[ $# -ge 1 ] || err_usage
-which arc >/dev/null 2>&1 || err "arc is required, install devel/arcanist"
+[ -x "${ARC_CMD}" ] || err "arc is required, install devel/arcanist-lib"
which jq >/dev/null 2>&1 || err "jq is required, install textproc/jq"
if [ "$VERBOSE" ]; then