Commit ac210c74 authored by Natanael Copa's avatar Natanael Copa

scripts/mkimage-yaml: strip milliseconds from time stamp

parent 4b621b0c
...@@ -47,6 +47,7 @@ for image; do ...@@ -47,6 +47,7 @@ for image; do
size="$(stat -c "%s" $image)" size="$(stat -c "%s" $image)"
date=${datetime%% *} date=${datetime%% *}
time=${datetime#* } time=${datetime#* }
time=${time%.*}
file=${filepath##*/} file=${filepath##*/}
flavor=${file%-${release}-${arch}.*} flavor=${file%-${release}-${arch}.*}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment