mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix clean build
This script was erroring out due to some missing renames.
This commit is contained in:
parent
6f84de718f
commit
f9c50e6022
@ -35,7 +35,7 @@ def main():
|
||||
tgz_path = os.path.join(package_dir, 'material-design-icons.tgz')
|
||||
untar_path = os.path.join(package_dir, 'material-design-icons')
|
||||
|
||||
url = 'https://storage.googleapis.com/mojo/material-design-icons/%s' % sha1
|
||||
url = 'https://storage.googleapis.com/mojo/material-design-icons/%s' % desired_sha1
|
||||
response = urllib2.urlopen(url)
|
||||
|
||||
with open(tgz_path, 'wb') as f:
|
||||
@ -45,7 +45,7 @@ def main():
|
||||
|
||||
subprocess.call([ 'tar', '-xzf', tgz_path, '-C', package_dir ])
|
||||
subprocess.call([ 'mv', untar_path, icons_dir ])
|
||||
subprocess.call([ 'cp', sha1_path, icons_dir ])
|
||||
subprocess.call([ 'cp', desired_sha1_path, icons_dir ])
|
||||
|
||||
os.unlink(tgz_path)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user