xbps-src: improve some messages in fetch phase.
This commit is contained in:
parent
f17066f04e
commit
543fe35787
1 changed files with 4 additions and 3 deletions
|
@ -34,10 +34,11 @@ verify_sha256_cksum()
|
||||||
|
|
||||||
[ -z "$file" -o -z "$cksum" ] && return 1
|
[ -z "$file" -o -z "$cksum" ] && return 1
|
||||||
|
|
||||||
msg_normal "'$pkgname-$lver': verifying checksum for $file... "
|
msg_normal "'$pkgname-$lver': verifying checksum for distfile '$file'... "
|
||||||
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
|
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
|
||||||
if [ "$origsum" != "$filesum" ]; then
|
if [ "$origsum" != "$filesum" ]; then
|
||||||
msg_error "SHA256 checksum doesn't match for $file.\n"
|
echo
|
||||||
|
msg_error "SHA256 mismatch for '$file'!\n"
|
||||||
fi
|
fi
|
||||||
msg_normal_append "OK.\n"
|
msg_normal_append "OK.\n"
|
||||||
}
|
}
|
||||||
|
@ -99,7 +100,7 @@ fetch_distfiles()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_normal "'$pkgname-$lver': fetching distfile $curfile...\n"
|
msg_normal "'$pkgname-$lver': fetching distfile '$curfile'...\n"
|
||||||
|
|
||||||
if [ -n "$distfiles" ]; then
|
if [ -n "$distfiles" ]; then
|
||||||
localurl="$f"
|
localurl="$f"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue