summaryrefslogtreecommitdiff
path: root/recipes/custom.py
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-05 13:38:22 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-05 13:53:05 +0200
commit2352c20421b2614b6a7e3485ee330e8baa569c26 (patch)
treef27c61919cf42fe50e64882c23e543fd5857c25c /recipes/custom.py
parentcf835b870becdfe54d64a53ce63d08adae9b4a65 (diff)
gstreamer-static: fix postin install step on windows
Diffstat (limited to 'recipes/custom.py')
-rw-r--r--recipes/custom.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/custom.py b/recipes/custom.py
index 7cacae9e..d1c20820 100644
--- a/recipes/custom.py
+++ b/recipes/custom.py
@@ -4,6 +4,7 @@ import shutil
from cerbero.build import recipe
from cerbero.config import Platform
+from cerbero.utils import to_unixpath
class GStreamerStatic(recipe.Recipe):
@@ -70,5 +71,5 @@ class GStreamerStatic(recipe.Recipe):
for f in self.files_list:
f_no_static = f.replace('/static/', '/')
shutil.copy(os.path.join(self.tmp_destdir,
- self.config.prefix[1:], f_no_static),
+ to_unixpath(self.config.prefix)[1:], f_no_static),
os.path.join(self.config.prefix, f))