Merge pull request #152 from SuperSandro2000/patch-1

Fix applying latest patch if patches is a symlink
This commit is contained in:
Mathijs van Veluw 2024-01-17 09:05:40 +01:00 committed by GitHub
commit b92f6abc61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ if [[ -z ${PATCH_NAME} ]]; then
else
echo "No exact patch file not found, using latest"
# If not, use the latest one
PATCH_NAME="$(find ../patches -type f -print0 | xargs -0 basename -a | sort -V | tail -n1)"
PATCH_NAME="$(find ../patches/ -type f -print0 | xargs -0 basename -a | sort -V | tail -n1)"
fi
fi