From 5367c2447d9e2ec1e8d8493dadd7eeb80bbd5bce Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 17 Jan 2024 00:47:43 +0100 Subject: [PATCH] Fix applying latest patch if patches is a symlink --- scripts/apply_patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apply_patches.sh b/scripts/apply_patches.sh index 9ffe838..a641298 100755 --- a/scripts/apply_patches.sh +++ b/scripts/apply_patches.sh @@ -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