FreeBSD package repository: use . as separator when checking whether package already exists
This commit is contained in:
parent
078d48730d
commit
9cb0e2683c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ if [ "$(basename "${FILENAME}" .pkg)" = "$(basename "${FILENAME}")" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if ls "${REPO}"/*/All/"${JOB}"-*-"${SHA}".pkg > /dev/null; then
|
||||
if ls "${REPO}"/*/All/"${JOB}"-*."${SHA}".pkg > /dev/null; then
|
||||
echo "Same hash already present, nothing to do"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue