From 7395e4cc68bc67ac57b39d14a72e97bc7c499133 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 8 Jul 2014 14:20:15 +0200 Subject: [PATCH] Replace ${D} by $D Change-Id: Id824cc59bb3f0dbcc22c4705f58cde4161d8e240 Signed-off-by: Ronan Le Martret --- tools/spec2yocto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spec2yocto.py b/tools/spec2yocto.py index 2759554..d855b80 100755 --- a/tools/spec2yocto.py +++ b/tools/spec2yocto.py @@ -1674,7 +1674,7 @@ class MetaSpec: Writes the pre/post (un)install sections of the recipe. ''' code=code.replace("/sbin/ldconfig","ldconfig") - code=code.replace("${prefix}","${D}${prefix}") + code=code.replace("${prefix}","$D${prefix}") file_d.write("%s%s() {\n" % (recipe_section, package_name)) -- 2.7.4