Gitlab Community Edition Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cdstar
cdstar
Commits
abdaf054
Commit
abdaf054
authored
May 04, 2022
by
mhellka
Browse files
fix: Bagit LTS adapter fails if target directory is a symlink.
parent
8e3724a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
cdstar-runtime/src/main/java/de/gwdg/cdstar/runtime/lts/bagit/BagitTarget.java
View file @
abdaf054
...
...
@@ -106,8 +106,11 @@ public class BagitTarget implements LTSTarget, RuntimeListener {
@Override
public
void
onStartup
(
RuntimeContext
ctx
)
throws
Exception
{
Files
.
createDirectories
(
path
);
Files
.
createDirectories
(
tmpPath
);
if
(!
Files
.
isDirectory
(
path
))
Files
.
createDirectories
(
path
);
if
(!
Files
.
isDirectory
(
tmpPath
))
Files
.
createDirectories
(
tmpPath
);
pool
=
ctx
.
lookupRequired
(
PoolService
.
class
).
getIOPool
(
path
);
cron
=
ctx
.
lookupRequired
(
CronService
.
class
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment