Merge "Remove macOS-specific workaround." am: e5be747906 am: 6f92a637bd
am: 04eb0f1801
Change-Id: I3c8b3592074d76fdfd6ca08d62c4796547711691
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user