diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-copyconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oh-copyconfig b/src/oh-copyconfig index e880392..4bd3871 100644 --- a/src/oh-copyconfig +++ b/src/oh-copyconfig @@ -75,5 +75,6 @@ while read -r type src dest; do fi # Copy the config file(s). printf 'oh-copyconfig: Copying "%s" to "%s"...\n' "${src}" "${dest}" + mkdir -p "$(dirname "${full_dest}")" cp -p "${full_src}" "${full_dest}" || error "Cannot copy \"${src}\"" done < ../config |