From a72bbda4bb56648a513ac17a868cfc2f3f8e3f91 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 18 Jul 2006 16:40:42 +0000 Subject: 'fixed dir creation for symlinks in other dirs' git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@132 880c04e9-e011-0410-abf7-b926e227c9cd --- functions | 1 + 1 file changed, 1 insertion(+) diff --git a/functions b/functions index 7d54914..086e707 100644 --- a/functions +++ b/functions @@ -85,6 +85,7 @@ add_symlink () fil="${1}" dest="${2##$BASEDIR}" add_dir $(dirname "${dest}") + add_dir $(dirname "${fil}") if ! grep "slink ${dest} " "${FILELIST}" 2>&1 > /dev/null; then msg " adding link ${fil} -> ${dest}" echo "slink ${fil} ${dest} $(stat -c '%a' ${fil}) 0 0" >> "${FILELIST}" -- cgit v1.2.3-24-g4f1b