update recipes generation
authorRonan Le Martret <ronan@fridu.net>
Thu, 18 Sep 2014 16:47:36 +0000 (18:47 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 18 Sep 2014 16:47:36 +0000 (18:47 +0200)
Change-Id: I3a828f0cd89fb9351f0cba71640e6ebab3c8e63d
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
tools/spec2yocto.py

index 2f50243..6ba571f 100755 (executable)
@@ -1679,7 +1679,7 @@ class MetaSpec:
         '''
         Writes the pre/post (un)install sections of the recipe.
         '''
-        code=code.replace("/sbin/ldconfig","[ \"x\$D\" == \"x\" ] && ldconfig")
+        code=code.replace("/sbin/ldconfig","[ \"x$D\" == \"x\" ] && ldconfig")
         code=code.replace("${prefix}","$D${prefix}")