diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-06-15 08:52:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-06-15 08:52:42 +0000 |
commit | 0e96ae680ea409f90a5baf4a5d52aba485d1440e (patch) | |
tree | cc09f5aaa6e134b63259743aa7a092ef7fe3ce98 /lbu | |
parent | 5fc20afe2bb1d1cb17303fe16dfe3cbea7ef1c12 (diff) | |
download | alpine-conf-0e96ae680ea409f90a5baf4a5d52aba485d1440e.zip |
force UTC for backups
Diffstat (limited to 'lbu')
-rw-r--r-- | lbu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ cmd_commit() { else lines=$(ls -1 "$mnt"/*.apkovl.tar.gz* 2>/dev/null) if [ "$lines" = "$outfile" ]; then - local d=$( date -r "$outfile" "+%Y%m%d%H%m%S" ) + local d=$( date -u -r "$outfile" "+%Y%m%d%H%m%S" ) local backup=$(echo "$outfile" | sed "s/\.apkovl\.tar\.gz/.$d.tar.gz/") vecho "Creating backup $backup" [ -z "$DRYRUN" ] && mv "$outfile" "$backup" |