aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage-yaml.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-11 07:46:37 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-14 20:10:40 +0000
commitac210c74ae7940ef3585ef498e3e3a00e66cb7b4 (patch)
treeddf65637ff3b11970acc9046ff29cb7120d61641 /scripts/mkimage-yaml.sh
parent4b621b0cb35a5c572514c77fbe09661c8e65517c (diff)
scripts/mkimage-yaml: strip milliseconds from time stamp
Diffstat (limited to 'scripts/mkimage-yaml.sh')
-rwxr-xr-xscripts/mkimage-yaml.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh
index b3e49626a03..0170f3ee001 100755
--- a/scripts/mkimage-yaml.sh
+++ b/scripts/mkimage-yaml.sh
@@ -47,6 +47,7 @@ for image; do
size="$(stat -c "%s" $image)"
date=${datetime%% *}
time=${datetime#* }
+ time=${time%.*}
file=${filepath##*/}
flavor=${file%-${release}-${arch}.*}