From bf239ad6f2be9712e7674c5c50caf386a9f4099e Mon Sep 17 00:00:00 2001 From: pauljako Date: Sun, 9 Feb 2025 12:31:06 +0100 Subject: [PATCH] fix? --- rodeo-overlay.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rodeo-overlay.sh b/rodeo-overlay.sh index f2d8518..d725463 100644 --- a/rodeo-overlay.sh +++ b/rodeo-overlay.sh @@ -40,7 +40,7 @@ stripped() { get_lower_dirs() { overlay_config="$1" - dir="$2" + [ "$dir" != "$2" ] && dir="$2" && lowerdirs="" while IFS="" read -r overlay || [ -n "$overlay" ] do if beginswith "(" "$overlay" && endswith ")" "$overlay" && [ -f "$(stripped "$overlay")" ]; then