bugfix symlinks parent directory missing
This commit is contained in:
parent
d0f795db57
commit
3882af2264
@ -226,6 +226,9 @@ check_or_make_symlink() {
|
||||
SOURCE="${SOURCE/#\~/$HOME}"
|
||||
TARGET="${TARGET/#\~/$HOME}"
|
||||
|
||||
# Ensure the parent directory of the target exists
|
||||
mkdir -p "$(dirname "$TARGET")"
|
||||
|
||||
SOURCE=$(resolve_path "$SOURCE")
|
||||
TARGET=$(resolve_path "$TARGET")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user