Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-05 05:28:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-05 05:28:30 +0300
commit410f3bc1d39d8e98561966139e797d0514724280 (patch)
tree64231d5bc9898dde89a0c47d689ce875447a5f50 /release/datafiles/prvicons_update.py
parentbaaa89a0bc54a659f9ddbc34cce21d6920c0f6a6 (diff)
Fix 'make icons' on Linux
CRLF line ending caused shebang to fail.
Diffstat (limited to 'release/datafiles/prvicons_update.py')
-rwxr-xr-x[-rw-r--r--]release/datafiles/prvicons_update.py50
1 files changed, 25 insertions, 25 deletions
diff --git a/release/datafiles/prvicons_update.py b/release/datafiles/prvicons_update.py
index 96306f0cea9..f76cf2a9852 100644..100755
--- a/release/datafiles/prvicons_update.py
+++ b/release/datafiles/prvicons_update.py
@@ -1,25 +1,25 @@
-#!/usr/bin/env python3
-
-# This script updates icons from the SVG file
-import os
-import subprocess
-import sys
-
-BASEDIR = os.path.abspath(os.path.dirname(__file__))
-
-inkscape_path = 'inkscape'
-
-if sys.platform == 'darwin':
- inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'
- if os.path.exists(inkscape_app_path):
- inkscape_path = inkscape_app_path
-
-cmd = (
- inkscape_path,
- os.path.join(BASEDIR, "prvicons.svg"),
- "--export-width=1536",
- "--export-height=256",
- "--without-gui",
- "--export-png=" + os.path.join(BASEDIR, "prvicons.png"),
-)
-subprocess.check_call(cmd)
+#!/usr/bin/env python3
+
+# This script updates icons from the SVG file
+import os
+import subprocess
+import sys
+
+BASEDIR = os.path.abspath(os.path.dirname(__file__))
+
+inkscape_path = 'inkscape'
+
+if sys.platform == 'darwin':
+ inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'
+ if os.path.exists(inkscape_app_path):
+ inkscape_path = inkscape_app_path
+
+cmd = (
+ inkscape_path,
+ os.path.join(BASEDIR, "prvicons.svg"),
+ "--export-width=1536",
+ "--export-height=256",
+ "--without-gui",
+ "--export-png=" + os.path.join(BASEDIR, "prvicons.png"),
+)
+subprocess.check_call(cmd)