From 75b267dc42c4523fd8187adc25e340bb983c4524 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 4 Jun 2024 14:59:17 +0200 Subject: [PATCH] helpers: moar fixes for helper versioning, use -L to follow symlink --- helpers/helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/helpers b/helpers/helpers index 3743fefaac..01b6fa7e31 100644 --- a/helpers/helpers +++ b/helpers/helpers @@ -12,7 +12,7 @@ set +x YNH_HELPERS_DIR="$SCRIPT_DIR/helpers.v${YNH_HELPERS_VERSION}.d" case "$YNH_HELPERS_VERSION" in "1" | "2") - readarray -t HELPERS < <(find "$YNH_HELPERS_DIR" -mindepth 1 -maxdepth 1 -type f) + readarray -t HELPERS < <(find -L "$YNH_HELPERS_DIR" -mindepth 1 -maxdepth 1 -type f) for helper in "${HELPERS[@]}"; do [ -r "$helper" ] && source "$helper" done