diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-11 07:46:37 -0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-14 20:10:40 +0000 |
commit | ac210c74ae7940ef3585ef498e3e3a00e66cb7b4 (patch) | |
tree | ddf65637ff3b11970acc9046ff29cb7120d61641 /scripts | |
parent | 4b621b0cb35a5c572514c77fbe09661c8e65517c (diff) | |
download | aports-ac210c74ae7940ef3585ef498e3e3a00e66cb7b4.tar.bz2 aports-ac210c74ae7940ef3585ef498e3e3a00e66cb7b4.tar.xz |
scripts/mkimage-yaml: strip milliseconds from time stamp
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkimage-yaml.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh index b3e49626a0..0170f3ee00 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}.*} |