summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-07-17 10:26:43 +0200
committerAaron Griffin <aaron@archlinux.org>2006-07-17 10:26:43 +0200
commit2e36bf176b4947754e3f2bac4f5ed670a92c7e61 (patch)
tree0fc8b44275881dccea61a7f1986de807dd917b2b /functions
parent21e5a68129b389f03ac07282a494ffe2b298f032 (diff)
downloadmkinitcpio-2e36bf176b4947754e3f2bac4f5ed670a92c7e61.tar.gz
mkinitcpio-2e36bf176b4947754e3f2bac4f5ed670a92c7e61.tar.xz
symlink fix
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@131 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index f57e22d..7d54914 100644
--- a/functions
+++ b/functions
@@ -87,7 +87,7 @@ add_symlink ()
add_dir $(dirname "${dest}")
if ! grep "slink ${dest} " "${FILELIST}" 2>&1 > /dev/null; then
msg " adding link ${fil} -> ${dest}"
- echo "slink ${dest} ${fil} $(stat -c '%a' ${fil}) 0 0" >> "${FILELIST}"
+ echo "slink ${fil} ${dest} $(stat -c '%a' ${fil}) 0 0" >> "${FILELIST}"
fi
fi
#fail quietly