Skip to content
Snippets Groups Projects
Commit ac210c74 authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimage-yaml: strip milliseconds from time stamp

parent 4b621b0c
No related branches found
No related tags found
No related merge requests found
...@@ -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}.*}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment