summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2016-08-22 15:38:06 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-08-22 19:16:48 +0200
commit70a99a269946496cee1afb9ab16c9e25fe41f081 (patch)
treee93957338a679c7857bb5b1d78bffcbb9af0c13f
parent81e0914651e546483c382b43ab0538562fb04805 (diff)
packager: fix mixed indentation
-rwxr-xr-xosx-packager10
1 files changed, 5 insertions, 5 deletions
diff --git a/osx-packager b/osx-packager
index 6e8cffe..d4943b8 100755
--- a/osx-packager
+++ b/osx-packager
@@ -20,12 +20,12 @@ def which(prog):
20def prefix_get(prog): 20def prefix_get(prog):
21 binary = which(prog) 21 binary = which(prog)
22 if binary is None: 22 if binary is None:
23 raise RuntimeError("Could not find {0}".format(prog)) 23 raise RuntimeError("Could not find {0}".format(prog))
24 paths = binary.split('/') 24 paths = binary.split('/')
25 prefix = "" 25 prefix = ""
26 26
27 for p in range(1, len(paths) - 2): 27 for p in range(1, len(paths) - 2):
28 prefix = prefix + '/' + paths[p] 28 prefix = prefix + '/' + paths[p]
29 return prefix 29 return prefix
30 30
31def efl_version_get(): 31def efl_version_get():
@@ -97,9 +97,9 @@ def load_config_file(fname):
97 97
98 prefix = config_prefix_get(conf) 98 prefix = config_prefix_get(conf)
99 for k, v in conf.iteritems(): 99 for k, v in conf.iteritems():
100 # FIXME - pretty bad, but will do... 100 # FIXME - pretty bad, but will do...
101 if type(v) is str: 101 if type(v) is str:
102 conf[k] = v.replace("@PREFIX@", prefix) 102 conf[k] = v.replace("@PREFIX@", prefix)
103 103
104 return conf 104 return conf
105 105