Update helpers: go home aleks u drunk

This commit is contained in:
Alexandre Aubin 2024-07-22 16:08:40 +02:00 committed by GitHub
parent b1d1f9f907
commit a7edbc0cc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ YNH_HELPERS_DIR="$SCRIPT_DIR/helpers.v${YNH_HELPERS_VERSION}.d"
case "$YNH_HELPERS_VERSION" in
"1" | "2" | "2.1")
readarray -t HELPERS < <(find -L "$YNH_HELPERS_DIR" -mindepth 1 -maxdepth 1 -type f)
source $YNH_HELPERS_VERSION/getopts
source $YNH_HELPERS_DIR/getopts
for helper in "${HELPERS[@]}"; do
[ -r "$helper" ] && source "$helper"
done