From d52e0531ba7f3a0ab16f3d88f983634147c0e5a9 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Wed, 17 Mar 2021 13:59:11 +0100
Subject: [PATCH] - return always a full path to prevent problems

---
 bin/slubsipbuilderbagit.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl
index b95f7c2..0cd0612 100644
--- a/bin/slubsipbuilderbagit.pl
+++ b/bin/slubsipbuilderbagit.pl
@@ -286,7 +286,7 @@ package SLUB::LZA::SIPBuilderBagIt;
             say "Rebuilding XSL directory '$xsl_dir'";
             $xsl_dir->mkpath() || confess("could not mkdir '$xsl_dir', $!");
         }
-        return $xsl_dir;
+        return $xsl_dir->absolute();
     }
 
     sub check_marc21_utility($$){
-- 
GitLab