From: Ronan Le Martret Date: Tue, 8 Jul 2014 15:05:54 +0000 (+0200) Subject: fix ldconfig X-Git-Tag: rev_0.4~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f697588db4f61aa64ee7b55b6c7597742937c11;p=scm%2Fbb%2Ftizen.git fix ldconfig Change-Id: I7a533fef29c688d4c10f318bc85049114fd7c4cb Signed-off-by: Ronan Le Martret --- diff --git a/tools/spec2yocto.py b/tools/spec2yocto.py index 8436aef..ea13e8f 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","[ \"x\$D\" != \"x\" ] && ldconfig") + code=code.replace("/sbin/ldconfig","[ \"x\$D\" == \"x\" ] && ldconfig") code=code.replace("${prefix}","$D${prefix}")