Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: Source/devtools/scripts/optimize_png_images.py

Issue 345713004: DevTools: update responsive design icon. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/scripts/convert_svg_images_to_png.py ('k') | Source/devtools/scripts/optimize_svg_file.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/scripts/optimize_png_images.py
diff --git a/Source/devtools/scripts/optimize_png_images.py b/Source/devtools/scripts/optimize_png_images.py
index 65fa24e2f19a285696dbec6f09f7e80a2e7ef384..216efad1d4f3686184bca9c9e94468de5fc8173d 100755
--- a/Source/devtools/scripts/optimize_png_images.py
+++ b/Source/devtools/scripts/optimize_png_images.py
@@ -79,7 +79,7 @@ check_installed("pngout", None, "Utility can be downloaded here: http://www.jono
def optimize_png(file_name):
png_full_path = images_path + "/" + file_name + ".png"
- optimize_command = "%s -o2 %s" % (optimize_script_path, png_full_path)
+ optimize_command = "bash %s -o2 %s" % (optimize_script_path, png_full_path)
proc = subprocess.Popen(optimize_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, cwd=chromium_src_path)
return proc
« no previous file with comments | « Source/devtools/scripts/convert_svg_images_to_png.py ('k') | Source/devtools/scripts/optimize_svg_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698