From ddd93a07bdce88511951e4bbb8712b5898e626d1 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 29 Jun 2024 23:03:51 +0300 Subject: [PATCH] Archive : Fix full paths. --- module/common/bash/module/Archive.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/common/bash/module/Archive.nix b/module/common/bash/module/Archive.nix index a44db7b..cdf996e 100644 --- a/module/common/bash/module/Archive.nix +++ b/module/common/bash/module/Archive.nix @@ -20,6 +20,9 @@ return 0 }; + # Cut full paths. + target="''${target##*/}" + local date=$(_archive_date) # Parse name. @@ -58,6 +61,9 @@ return 0 }; + # Cut full paths. + target="''${target##*/}" + # Start timestamp. local date=$(_archive_date)