diff --git a/build/tools/mk_sdk_repo_xml.sh b/build/tools/mk_sdk_repo_xml.sh index ed98980df..97f8abab9 100755 --- a/build/tools/mk_sdk_repo_xml.sh +++ b/build/tools/mk_sdk_repo_xml.sh @@ -420,11 +420,7 @@ while [[ -n "$1" ]]; do # Generate archive info #echo "## Add $TYPE/$OS archive $SRC" - if [[ $( uname ) == "Darwin" ]]; then - SIZE=$( stat -f %z "$SRC" ) - else - SIZE=$( stat -c %s "$SRC" ) - fi + SIZE=$( stat -c %s "$SRC" ) SHA1=$( sha1sum "$SRC" | cut -d " " -f 1 ) if uses_new_host_os ; then