aboutsummaryrefslogtreecommitdiffstats
path: root/dfly-update
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-01-07 20:27:56 +0800
committerAaron LI <aly@aaronly.me>2019-01-07 21:04:13 +0800
commit40ae47ab7f23597dcf71e23eacc3ff14dbb1114d (patch)
tree8947c4f09e180dda896399b88bb828dad740f49f /dfly-update
parent16885e3bdea77e7898bb7599ddeb86e5576e17c4 (diff)
downloaddfly-update-40ae47ab7f23597dcf71e23eacc3ff14dbb1114d.tar.bz2
Fix cpdup -X usage
Full absolute paths must be used in the cpignore file.
Diffstat (limited to 'dfly-update')
-rwxr-xr-xdfly-update2
1 files changed, 1 insertions, 1 deletions
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} <ignored>"
done