From ddab7abb8c739a3fe45ca8cf504ce1f2de2b249f Mon Sep 17 00:00:00 2001 From: swg Date: Sat, 10 Oct 2026 20:24:53 +0200 Subject: [PATCH] fixed folder creation with -p. --- img-helpr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/img-helpr.sh b/img-helpr.sh index bd7c5a7..7308957 100755 --- a/img-helpr.sh +++ b/img-helpr.sh @@ -215,7 +215,7 @@ do ## Lokalen Speicherpfad erzeugen if [ ! -d "$local_blog_path/${OUT_PATH_Y}/${OUT_PATH_M}" ]; then echo "tooltip: erzeuge lokalen Speicherpfad $local_blog_path/${OUT_PATH_Y}/${OUT_PATH_M}." >&3 - mkdir "$local_blog_path/${OUT_PATH_Y}/${OUT_PATH_M}"; + mkdir -p "$local_blog_path/${OUT_PATH_Y}/${OUT_PATH_M}"; if [ "$?" -ne "0" ]; then echo "tooltip:Konnte lokalen Speicherpfad $local_blog_path/${OUT_PATH_Y}/${OUT_PATH_M} für Bilder nicht erzeugen!" >&3 kill $IMGDISPLAYPID;