Compare commits
No commits in common. "859bb800d45eb303f52de0eed43010ea927c7ef1" and "f1d4e6ed9df3316ffe8f451c8d0a16257d4678db" have entirely different histories.
859bb800d4
...
f1d4e6ed9d
|
@ -399,11 +399,10 @@ build_rsync_main_cmd() {
|
|||
###################################################################
|
||||
|
||||
# Create a temp file for excludes and includes
|
||||
includes_file="$(mktemp --tmpdir "${PROGNAME}.includes.XXXXXX")"
|
||||
excludes_file="$(mktemp --tmpdir "${PROGNAME}.excludes.XXXXXX")"
|
||||
includes_file="$(mktemp "${PROGNAME}.includes.XXXXXX")"
|
||||
excludes_file="$(mktemp "${PROGNAME}.excludes.XXXXXX")"
|
||||
# … and add them to the list of files to delete at exit
|
||||
temp_files="${includes_file} ${excludes_file}"
|
||||
trap "rm -f ${temp_files}" EXIT
|
||||
temp_files="${temp_files} ${includes_file} ${excludes_file}"
|
||||
|
||||
# Store includes/excludes in files
|
||||
# without blank lines of comments (# or ;)
|
||||
|
|
Loading…
Reference in a new issue