diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-01-12 00:41:46 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-01-12 00:41:46 +0100 |
commit | a2b8beaa56996d5240f74e6ca2fbc1c997310e7e (patch) | |
tree | 3204e90c79d372b70211c0044579ac8a8c7e1f80 /functions | |
parent | 5e162607a486675b51febbcacc81b62356e0ab29 (diff) | |
download | mkinitcpio-a2b8beaa56996d5240f74e6ca2fbc1c997310e7e.tar.gz mkinitcpio-a2b8beaa56996d5240f74e6ca2fbc1c997310e7e.tar.xz |
Fix adding duplicate symlinks into the cpio image
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ add_symlink () dest="${2##$BASEDIR}" add_dir $(dirname "${dest}") add_dir $(dirname "${fil}") - if ! grep "slink ${dest} " "${FILELIST}" 2>&1 > /dev/null; then + if ! grep "slink ${fil} " "${FILELIST}" 2>&1 > /dev/null; then msg " adding link ${fil} -> ${dest}" echo "slink ${fil} ${dest} $(stat -c '%a' ${1}) 0 0" >> "${FILELIST}" fi |