From 4aafd4a05015d1f1091334c42c5728d3726674d7 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 18 Apr 2025 00:07:04 +0200 Subject: [PATCH] Fix. --- bookworm/scripts/lib/copy_dirtrees_of_tags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookworm/scripts/lib/copy_dirtrees_of_tags b/bookworm/scripts/lib/copy_dirtrees_of_tags index e3714b2..11fa0f1 100644 --- a/bookworm/scripts/lib/copy_dirtrees_of_tags +++ b/bookworm/scripts/lib/copy_dirtrees_of_tags @@ -15,7 +15,7 @@ copy_dirtrees_of_tags() { # ensure directory by mkdir -p; to avoid later chowning pre-existing directories, # collect only what's returned by the command as actually newly created _CREATION_SUMMARY=$(mkdir -pv "${_DIRECTORY}") - _CREATED_PATHS=$(echo "${_CREATION_SUMMARY}" | sed -E "s/'\$//g" | sed -E "s/\$mkdir: created directory '//g") + _CREATED_PATHS=$(echo "${_CREATION_SUMMARY}" | sed -E "s/'\$//g" | sed -E "s/^mkdir: created directory '//g") _PATHS_WRITTEN="${_CREATED_PATHS}${_PATHS_WRITTEN}" # handle dirtree creation instruction files -- 2.30.2