diff options
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ add_symlink () fil="${1}" dest="${fil##$BASEDIR}" add_dir $(dirname "${dest}") - if ! grep "slink ${fil} " "${FILELIST}" 2>&1 > /dev/null; then + if ! grep "slink ${dest} " "${FILELIST}" 2>&1 > /dev/null; then msg " adding symlink ${dest}" echo "slink ${dest} ${fil} $(stat -c '%a %u %g' ${fil})" >> "${FILELIST}" fi @@ -77,7 +77,7 @@ add_file () add_dir $(dirname "${dest}") - if ! grep "file ${fil} " "${FILELIST}" 2>&1 > /dev/null; then + if ! grep "file ${dest} " "${FILELIST}" 2>&1 > /dev/null; then msg " adding file ${dest}" echo "file ${dest} ${fil} $(stat -c '%a %u %g' ${fil})" >> "${FILELIST}" fi |