Merge "Remove macOS-specific workaround."

This commit is contained in:
Treehugger Robot
2019-09-06 19:48:21 +00:00
committed by Gerrit Code Review

View File

@@ -420,11 +420,7 @@ while [[ -n "$1" ]]; do
# Generate archive info # Generate archive info
#echo "## Add $TYPE/$OS archive $SRC" #echo "## Add $TYPE/$OS archive $SRC"
if [[ $( uname ) == "Darwin" ]]; then SIZE=$( stat -c %s "$SRC" )
SIZE=$( stat -f %z "$SRC" )
else
SIZE=$( stat -c %s "$SRC" )
fi
SHA1=$( sha1sum "$SRC" | cut -d " " -f 1 ) SHA1=$( sha1sum "$SRC" | cut -d " " -f 1 )
if uses_new_host_os ; then if uses_new_host_os ; then