mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-08 16:47:46 +00:00
fix(common): Tweak BUILDER_OS check
This commit is contained in:
parent
afe9b9fe16
commit
85a25446cb
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ write_download_info() {
|
|||
|
||||
builder_echo "BUILDER_OS: ${BUILDER_OS}"
|
||||
# stat flags to get filesize in bytes
|
||||
if [[ "$BUILDER_OS" == mac ]] && [[ $(which stat) == /usr/bin/stat ]]; then
|
||||
if [ "$BUILDER_OS" == "mac" ] && [[ $(which stat) == /usr/bin/stat ]]; then
|
||||
STAT_FLAGS="-f%z"
|
||||
else
|
||||
STAT_FLAGS="-c%s"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue