Fix clean build

This script was erroring out due to some missing renames.
This commit is contained in:
Adam Barth 2015-07-23 16:03:36 -07:00
parent 6f84de718f
commit f9c50e6022

View File

@ -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)