Fix symbolic links not being copied. Patch from Molly Miller - drist - a remote deployment tool HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 597c9a998cc850a353896336ed08346afb6c6c91 DIR parent cf522f8b25b68b93fb3027c89a46a68b918b473c HTML Author: Solene Rapenne <solene@perso.pw> Date: Mon, 15 Jun 2020 13:10:11 +0200 Fix symbolic links not being copied. Patch from Molly Miller Diffstat: M drist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/drist b/drist @@ -55,7 +55,7 @@ copy_files() { if [ -f "$LIST" ] then printf 'Copying files from folder "%s":\n' "$1" - find "${1}"/ -type f | cut -d '/' -f 2- | tee "${LIST}" | sed 's/^/ \//' + find "${1}"/ -type f -or -type l | cut -d '/' -f 2- | tee "${LIST}" | sed 's/^/ \//' if [ "$SIMULATE" -ne 1 ] then rsync -e "ssh $SSH_PARAMS" --rsync-path="${EXEC} rsync" -lD --files-from="${LIST}" "${1}/" "${2}":/