xbps-src: use the xbps static bins.
--HG-- extra : convert_revision : 7b8f360971f28668dae1032fccdc5819bafe5054
This commit is contained in:
parent
2033bee689
commit
22774572da
2 changed files with 4 additions and 3 deletions
|
@ -34,7 +34,7 @@ verify_sha256_cksum()
|
|||
|
||||
[ -z "$file" -o -z "$cksum" ] && return 1
|
||||
|
||||
filesum=$(xbps-digest $XBPS_SRCDISTDIR/$file)
|
||||
filesum=$(xbps-digest.static $XBPS_SRCDISTDIR/$file)
|
||||
if [ "$origsum" != "$filesum" ]; then
|
||||
msg_error "SHA256 checksum doesn't match for $file."
|
||||
fi
|
||||
|
@ -47,7 +47,7 @@ fetch_update_cksum()
|
|||
local tmpl="$XBPS_TEMPLATESDIR/$pkgname/template"
|
||||
local upcmd=$(basename $XBPS_SRCDISTDIR/$1)
|
||||
|
||||
sed -i -e "s|checksum.*|checksum=$(xbps-digest ${upcmd})|" $tmpl
|
||||
sed -i -e "s|checksum.*|checksum=$(xbps-digest.static ${upcmd})|" $tmpl
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue