home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 17 Apr 2025 22:07:04 +0000 (00:07 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 17 Apr 2025 22:07:04 +0000 (00:07 +0200)
bookworm/scripts/lib/copy_dirtrees_of_tags

index e3714b2258f4e40aed89cfc5bae7aa1c1a8f0208..11fa0f1664a289cc7a9a8b28ece00bbbed00fa46 100644 (file)
@@ -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