fix: avoid using internal subroutine
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Oscar Wallberg <oscar.wallberg@outlook.com>
|
||||
pkgname=claude-code
|
||||
pkgver=2.1.196
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Use Claude, Anthropic's AI assistant, right from your terminal"
|
||||
arch=('x86_64')
|
||||
url="https://claude.ai/code"
|
||||
@@ -22,7 +22,7 @@ check() {
|
||||
local expected="$(jq -r '.platforms."linux-x64".checksum' "${pkgver}-manifest.json")"
|
||||
local actual="$(sha256sum "${pkgver}-claude" | cut -d' ' -f1)"
|
||||
if [[ "$actual" != "$expected" ]]; then
|
||||
error "Binary checksum mismatch: got $actual, manifest has $expected"
|
||||
echo "Binary checksum mismatch: got $actual, manifest has $expected" >&2
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user