mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-09 00:20:44 +00:00
Fix modification time restoration.
This commit is contained in:
parent
aaa4637ed0
commit
2f3826d88d
2
tomb
2
tomb
@ -206,7 +206,7 @@ _restore_stat() {
|
|||||||
stats=("${(@s.:.)stat}")
|
stats=("${(@s.:.)stat}")
|
||||||
_verbose "Restoring access and modification time for ::1 file::" $file
|
_verbose "Restoring access and modification time for ::1 file::" $file
|
||||||
[[ -z "${stats[1]}" ]] || touch -a --date="@${stats[1]}" "$file"
|
[[ -z "${stats[1]}" ]] || touch -a --date="@${stats[1]}" "$file"
|
||||||
[[ -z "${stats[2]}" ]] || touch -m --date="@${stats[1]}" "$file"
|
[[ -z "${stats[2]}" ]] || touch -m --date="@${stats[2]}" "$file"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user