diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-07 20:27:56 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-07 21:04:13 +0800 |
commit | 40ae47ab7f23597dcf71e23eacc3ff14dbb1114d (patch) | |
tree | 8947c4f09e180dda896399b88bb828dad740f49f /dfly-update | |
parent | 16885e3bdea77e7898bb7599ddeb86e5576e17c4 (diff) | |
download | dfly-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-x | dfly-update | 2 |
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 |