From 40ae47ab7f23597dcf71e23eacc3ff14dbb1114d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 7 Jan 2019 20:27:56 +0800 Subject: Fix cpdup -X usage Full absolute paths must be used in the cpignore file. --- dfly-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dfly-update') diff --git a/dfly-update b/dfly-update index 1b7aae4..d910fe5 100755 --- a/dfly-update +++ b/dfly-update @@ -240,7 +240,7 @@ install_system() { echo " => Collecting files to be ignored ..." cpignore=$(mktemp -t ${NAME}) || exit ${EC_TMPFILE} for file in ${FILES_IGNORE}; do - echo "${file}" >> ${cpignore} + echo "${MNT_DIR}/${file}" >> ${cpignore} echo " * ${file} " done -- cgit v1.2.2