summaryrefslogtreecommitdiff
path: root/devel/eric6/files/extra-patch-install-i18n.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/eric6/files/extra-patch-install-i18n.py')
-rw-r--r--devel/eric6/files/extra-patch-install-i18n.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/eric6/files/extra-patch-install-i18n.py b/devel/eric6/files/extra-patch-install-i18n.py
index 817c9356f60c..fa0b56e8aa53 100644
--- a/devel/eric6/files/extra-patch-install-i18n.py
+++ b/devel/eric6/files/extra-patch-install-i18n.py
@@ -2,7 +2,7 @@
+++ install-i18n.py 2013-10-05 17:55:20.162267518 +0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
-+#!/usr/bin/env python2
++#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2004 - 2015 Detlev Offenbach <detlev@die-offenbachs.de>
@@ -21,7 +21,7 @@
- targetDir = configDir
+ targetDir = distDir + getConfig('ericTranslationsDir')
+ if not os.path.exists(targetDir):
-+ os.makedirs(targetDir, 0755)
++ os.makedirs(targetDir, 493) # 0o755
else:
targetDir = getConfig('ericTranslationsDir')
@@ -30,7 +30,7 @@
try:
- optlist, args = getopt.getopt(argv[1:], "hp")
-+ optlist, args = getopt.getopt(argv[1:],"hp:")
++ optlist, args = getopt.getopt(argv[1:], "hp:")
except getopt.GetoptError:
usage()