00-distfiles: fix hard link existence test
This commit is contained in:
parent
109e158075
commit
d6fb3784dd
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ verify_cksum() {
|
||||||
msg_red "SHA256 mismatch for '$curfile:'\n$filesum\n"
|
msg_red "SHA256 mismatch for '$curfile:'\n$filesum\n"
|
||||||
errors=$(($errors + 1))
|
errors=$(($errors + 1))
|
||||||
else
|
else
|
||||||
if [ ! -f "$XBPS_SRCDISTDIR/by_sha256/$cksum" ]; then
|
if [ ! -f "$XBPS_SRCDISTDIR/by_sha256/${cksum}_${curfile}" ]; then
|
||||||
mkdir -p "$XBPS_SRCDISTDIR/by_sha256"
|
mkdir -p "$XBPS_SRCDISTDIR/by_sha256"
|
||||||
ln -f "$distfile" "$XBPS_SRCDISTDIR/by_sha256/${cksum}_${curfile}"
|
ln -f "$distfile" "$XBPS_SRCDISTDIR/by_sha256/${cksum}_${curfile}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue