bug
This commit is contained in:
parent
8cfba1fb39
commit
a853af48c6
|
@ -92,6 +92,9 @@ function copy_update_ask() {
|
|||
# Retourner vrai si le fichier a été copié sans erreur.
|
||||
local src="$1" dest="$2"
|
||||
|
||||
[ -d "$dest" ] && dest="$dest/$(basename "$src")"
|
||||
mkdirof "$dest" || return 1
|
||||
|
||||
[ -f "$dest" ] || copy_replace "$src" "$dest"
|
||||
if testdiff "$src" "$dest"; then
|
||||
diff -u "$dest" "$src"
|
||||
|
|
Loading…
Reference in New Issue